-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
ReferenceError: Unknown plugin "transform-es2015-modules-strip [FIX] #23662
Comments
Sorry but it's not an issue in our end because it seems you're trying to build Bootstrap instead of just using our dist files. |
Hello, Webpack config:
When I'm excluding folder
|
+1 |
1 similar comment
+1 |
@Prestapro is it possible for you to remove the |
@Johann-S Deleting the |
That's because you shouldn't try to build Bootstrap on your own project use : |
Updating node to the latest version helped me. |
.babelrc should not be present on the bootstrap package. When building your project with babel, it will lookup by default on all babelrc. See lookup behavior https://babeljs.io/docs/usage/babelrc/ When building a npm package (eg: bootstrap) you should ignore everything but /dist files. Also until they fix it we could still use "babelrc": false, but it does not seems to work for all of my projects. edit: it's fixed sorry (my bad) |
Hello,
I understand that you are a large team, but I do not have time to write a detailed report:
In bootstrap beta 4 there is an error, I found the problem and fixed it in my code.
You can see here:
https://stackoverflow.com/questions/45660672/webpack-fails-to-load-bootstrap-v4-0-0-beta/45872157#45872157
Error:
npm install babel-plugin-transform-es2015-modules-strip
And them install:
I hope you will be wise and add this fix.
With respect,
Alexander.
The text was updated successfully, but these errors were encountered: