Answer the question
In order to leave comments, you need to log in
How to correctly include module styles in Webpack?
Hello. How to correctly connect module styles, if you need to change these styles. My first thought was to just copy the stylesheet to src/sass/ of the project and then edit it, is that right?
On the example of the tingle.js plugin webpack.conf.js
plugins: [
new webpack.ProvidePlugin({
tingle: 'tingle.js',
})
]
import 'tingle.js/dist/tingle.css';
Answer the question
In order to leave comments, you need to log in
If you need to change a lot, then you can create a vendor folder in the sources, where to put such files.
If you need to make a few changes, then you can simply change the class names by creating your own file and including it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question