Giter Club home page Giter Club logo

Comments (4)

wolfadex avatar wolfadex commented on August 13, 2024 3

@leefsmp I've published 0.0.6 to npm, please let me know if there's any issues.

from bootstrap-webpack.

pawanpoudel avatar pawanpoudel commented on August 13, 2024

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.

leefsmp avatar leefsmp commented on August 13, 2024

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.

leefsmp avatar leefsmp commented on August 13, 2024

Awesome, all good now. Thanks!

from bootstrap-webpack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.