This repository has been archived by the owner on Aug 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 87
presets fail #23
Comments
The error worked though – you're here 😀 I think we need to ensure that the http://babeljs.io/docs/plugins/transform-es2015-classes/ plugin is enabled for the preflight check, since that's what helps us figure out how helpers are being treated. |
@Rich-Harris How do this without re resolving |
Think we just need to change this line to this: var check = transform( 'export default class Foo {}', assign( {}, localOpts, {
plugins: [ 'transform-es2015-classes' ]
}).code; The passed-in options are merged into the nearest |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If
presets
is not defined I get this errorNeed more smart detection for more informative errors.
The text was updated successfully, but these errors were encountered: