R
R
Roman L.2016-01-07 19:52:22
webpack
Roman L., 2016-01-07 19:52:22

How to properly load webpack modules?

I do not quite understand how to connect modules.
1. bootstrap - loaded via bower: require("bootstrap") - loads everything that is needed and not needed, let's say it forcibly loads less and collects styles from them, is it possible to somehow specify that it takes only CSS (why waste time on assembly) and throw it into a separate .css file, not js (ExtractTextPlugin didn't help).
2. I want to add this plugin https://github.com/RubaXa/Sortable , I specify in ALIAS where to get it, webpack again forces the angular version of this module (only deleting ng-sortable.js helps)
how to manage more flexibly, specify what where to take?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question