-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webpack build error - Module parse failed
#173
Comments
The annoying part for right now is that you need to process Stardust with babel. If you change your exclude for the js loader to: exclude: /node_modules\/(?!(stardust)/, That should work as at least a temporary solution. |
If I need to compile it, any reason a pre-compiled version isn't being made available? |
Still a relatively young project, I don't believe they were prepared to release it to the public just yet. |
@polarathene Thanks for the issue! As @davezuko suggests it's still very much in its infancy. But the capabilities provided for client-side form validation and easily creating slick UIs is pretty incredible already. We've outlined a Roadmap for v1. Please feel free to open a pull request against that if you feel it's missing anything you'd like to see as we work towards an initial release. Meanwhile, I hope you enjoy using the project. |
@polarathene As of this PR, Stardust now includes a CommonJS build in I've also left the |
@levithomason Much appreciated, thanks :) |
No problem! |
I took a look at what babel settings were used in your
.babelrc
, as well as the notes on webpack loader on the README. Babel loader looks like the following:I'm new to babel and webpack, this is taken from the webpack config in
react-redux-starter-kit
. I've done an npm install of the two added plugins/presets like so:Running the webpack server with
npm start
for the project brings up the mentioned error above.The text was updated successfully, but these errors were encountered: