Comments (6)
Do you have babel-plugin-transform-es2015-modules-commonjs
installed in your node_modules
?
from babel-preset-meteor.
Yes. Turns out I do. Running npm list
I get it through:
├─┬ @kadira/[email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
from babel-preset-meteor.
So I tried removing @kadira/storybook
and then installing 6.8.1 again. A check with npm list
showed that babel-plugin-transform-es2015-modules-commonjs
wasn't installed anywhere. But I still get the same Unexpected reserved word
on import
.
Any other suggestions of what to try?
from babel-preset-meteor.
You probably want to depend directly on babel-plugin-transform-es2015-modules-commonjs
by doing meteor npm install --save-dev babel-plugin-transform-es2015-modules-commonjs
in your app.
from babel-preset-meteor.
I had tried that already and just tried again with no luck. Still the same error of not recognising import
. What in babel-preset-meteor
's dependencies provides ES2015 modules?
from babel-preset-meteor.
I hear that Meteor 1.3.3 will bring back .babelrc. Will this preset become the default for that .babelrc, or will the need for this go away. Simply asking because it would might make this issue obsolete.
from babel-preset-meteor.
Related Issues (10)
- &&= operator doesn't minify HOT 2
- Samsung Internet mobile browser considered "legacy" HOT 4
- Correct to match Meteor's actual babel setup HOT 1
- 6.23.0/1 breaks building in Meteor 1.4.2.3 HOT 4
- [6.24.0] breaks Meteor builds: did not recognize object of type "TypeAlias" on meteor run when using flow types HOT 4
- Versions since 6.22.0 won't import in mocha unit tests
- babel-plugin-transform-class-properties and Meteor 1.5 HOT 4
- Meteor app fails to build using beta.40-1 HOT 1
- Cannot use with typescript HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from babel-preset-meteor.