Answer the question
In order to leave comments, you need to log in
How to get rid of .less when building?
When building, a style.less file appears in app.js, which weighs a lot ...
Now there is a loader in the config:
module: {
loaders: [
...
{
test: /\.less$/,
loader: 'style-loader!css-loader!less-loader',
include: path.join(__dirname, 'app'),
}
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question