25 lines
582 B
JavaScript
25 lines
582 B
JavaScript
const merge = require('webpack-merge');
|
|
const common = require('./webpack.common.js');
|
|
|
|
module.exports = merge(common, {
|
|
devtool: 'inline-source-map',
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.less$/,
|
|
use: [
|
|
{
|
|
loader: 'style-loader'
|
|
},
|
|
{
|
|
loader: 'css-loader',
|
|
},
|
|
{
|
|
loader: 'less-loader',
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
});
|