Comments (10)
I was able to use babelify
instead of reactify
and it solved all my problems.
from reactify.
The original pull request for this nonStrictEs6Module
flag and the es6module
flag can be found at facebook/react#3143, which includes specific information about them. Unfortunately not officially documented yet, so it appears.
from reactify.
How does one set these flags in a Grunt configuration when using browserify and reactify as a transform? I created a stackoverflow question about this.
from reactify.
Here's my fix: #59
from reactify.
Any updates here? I'm running into this problem (as seen in #60 ) also.
from reactify.
Can you use jstransformify instead of reactify? I recently made some changes to make its interface more like reactify.
from reactify.
@danvk When I switched my transform from
bundler.transform(reactify, {es6:true});
to
bundle.transform(jstransformify);
I get the error:
Error: while transforming /Users/mherbst/Repos/data-validation-tool/src/client/js/app.jsx:Error: Parse Error: Line 1: Illegal import declaration
from reactify.
Yeah, reactify
is pretty much deprecated now as babel
is replacing jstransform
.
from reactify.
@MatthewHerbst Thank you that worked for me too!
from reactify.
@MatthewHerbst Tanks! babelify works fine for me too
from reactify.
Related Issues (20)
- typo in error message HOT 2
- support for flow types HOT 1
- lower case custom HTML elements not working HOT 1
- Issue with running `--es6` with watchify HOT 1
- Source map become bigger and bigger (with watchify) HOT 3
- Configuring ES6 in task? HOT 2
- Reactify not transforming JSX file HOT 5
- Reactify is not able to handle import/export declarations, even with Harmony tag (Fix inside) HOT 1
- Watchify fails with reactify HOT 2
- Use jstransform directly instead of react-tools HOT 3
- Parse error with transforming with non jsx files HOT 3
- Source maps include full local path names, not shown in original folders HOT 3
- Error: Arguments to path.resolve must be strings HOT 3
- Unexpected identifier HOT 1
- switch to babel instead of react-tools HOT 3
- Consider Deprecating in favor of babelify HOT 2
- Parse errors ending Gulp process HOT 1
- v2 HOT 3
- NODE_ENV=production 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 reactify.