Comments (4)
@leefsmp I've published 0.0.6 to npm, please let me know if there's any issues.
from bootstrap-webpack.
This pull request fixes this issue and has already been merged into master
. Unfortunately, the NPM site still shows 0.0.5
as the latest version which was published about a year ago. Hopefully, a new version will be published soon and this issue will go away. In the meantime, if you go to the node_modules/bootstrap-webpack
in your project's root directory and replace the contents of index.js
file with the following code, the error should go away.
require("style-loader!css-loader!less-loader!./bootstrap-styles.loader!./bootstrap.config.js");
require("./bootstrap-scripts.loader!./bootstrap.config.js");
The root cause of the issue is that Webpack 2.x no longer allows us to omit the loader
suffix when using loaders. The current version (0.0.5
) of the bootstrap-webpack package uses bootstrap-scripts
and bootstrap-styles
instead of the full name of the loader files: bootstrap-scripts.loader
and bootstrap-styles.loader
in the index.js
file. That's why Webpack says it can't find those modules.
from bootstrap-webpack.
That was my guess, thanks for the feedback. I hope the package will be updated soon. In the meantime I moved to bootstrap-loader.
from bootstrap-webpack.
Awesome, all good now. Thanks!
from bootstrap-webpack.
Related Issues (20)
- support latest 3.x HOT 4
- I recomed integrating with and syncing bs version to: https://github.com/valor-software/ng2-bootstrap HOT 1
- cannot resolve path (or pattern) './src/**/*.spec.js'
- Unmet dependencies .. HOT 3
- Import order not allowing overrides HOT 2
- extract-text-webpack-plugin loader usage without plugin error HOT 1
- Use resolve loader
- Give example for using it in a global namespace HOT 1
- bootstrap.config.js doesn't work (in my config) HOT 3
- Cannot find module 'style!css!less!./bootstrap-styles!./bootstrap.config.js' HOT 9
- Can I move bootstrap to a "dll" bundle with bootstrap-webpack and DllPlugin?
- Can I move bootstrap to a "dll" bundle with bootstrap-webpack and DllPlugin?
- expose vs providePlugin?
- Include custom themes HOT 2
- Update to webpack 2 HOT 1
- webpack2 , upgrade extract-text-webpack-plugin error HOT 6
- For us newbies, where do I put require("bootstrap-webpack"); HOT 2
- Webpack 2 - Cannot find module \babel-loader\lib\index.js??ref--8-0
- webpack4.x Webapck4 does not support 'extract-text-webpack-plugin' 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 bootstrap-webpack.