1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/svg-sprite-loader/examples/browser-sprite/webpack.config.js

26 lines
421 B
JavaScript

const path = require('path');
const merge = require('deepmerge');
const baseConfig = require('../base-webpack.config');
module.exports = merge(baseConfig, {
context: __dirname,
entry: './main',
output: {
path: path.resolve(__dirname, 'build')
},
module: {
rules: [
{
test: /\.svg$/,
use: [
'svg-sprite-loader',
'svgo-loader'
]
}
]
}
});