GithubHelp home page GithubHelp logo

Comments (6)

justin808 avatar justin808 commented on July 28, 2024

just place it as an entry point for the webpack-dev-server

or just include it on your HTML page.

from bootstrap-sass-loader.

jsdmc avatar jsdmc commented on July 28, 2024

I need compiled version. I see how to include it to webpack. But I don't want to mix bootstrap styles with others that also loaded using style-loader. But when I move bootstrap-saas-loader to separate entry point I also get styles file along with scripts (almost empty file with some webpack definitions). In configuration of loader I disabled all bootstrap scripts. That's what I'm talking about. How to get bundle of bootstrap styles without bundle for bootstrap scripts.
Cheers

from bootstrap-sass-loader.

justin808 avatar justin808 commented on July 28, 2024

@jsdmc Try setting all the bootstrap scripts to false:

https://github.com/shakacode/bootstrap-sass-loader/blob/master/bootstrap-sass.config.js#L34

  scripts: {
    'transition': true,
    'alert': true,
    'button': true,
    'carousel': true,
    'collapse': true,
    'dropdown': true,
    'modal': true,
    'tooltip': true,
    'popover': true,
    'scrollspy': true,
    'tab': true,
    'affix': true
  },

from bootstrap-sass-loader.

jsdmc avatar jsdmc commented on July 28, 2024

@justin808 I tried of course) As I wrote above in this case you get "almost empty file with some webpack definitions"

from bootstrap-sass-loader.

justin808 avatar justin808 commented on July 28, 2024

@jsdmc This loader is pretty easy to debug. If you can point me to a reproduction case and more details on the problem you see, I'm sure WE can fix it.

from bootstrap-sass-loader.

justin808 avatar justin808 commented on July 28, 2024

@jsdmc See https://github.com/shakacode/bootstrap-sass-loader#testing-changes-in-the-bootstrap-sass-loader

from bootstrap-sass-loader.

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.