-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Compatibility with webpack #17
Comments
At first glance the issue doesn't appear related to According to webpack, the option name is The |
@exogen thank you for fast response. Unfortunately it seems to be related with postinstall-build, double-checked that. Here is basic setup in order to reproduce it: https://github.com/b1r3k/postinstall-build-bughunt it uses lib https://github.com/b1r3k/react-jsonschema-form and when branch is set to |
This is a really interesting bug and has taken some crazy turns debugging it! I made a more minimal repro here: https://github.com/exogen/postinstall-build-bughunt Note that
I narrowed it down to |
It looks like that preset is deprecated: https://www.npmjs.com/package/babel-preset-es2015-loose I'm still curious enough to track down why it's randomly running a script it found, but the first thing I'd do is ditch that. |
After some debugging, I've found that the module underlying I put a So I'm happy to report that |
Seems it doesn't work with builds done by webpack. Works fine until I'll request npm run build for the App.
npm start:dev
doesn't throw though app is not bootstrappingApp packages.js
lib package.js
Ouput from
npm run build
for the Appnpm-debug.log.txt
The text was updated successfully, but these errors were encountered: