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

25 lines
396 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')
},
target: 'node',
module: {
rules: [
{
test: /\.svg$/,
loader: 'svg-sprite-loader'
}
]
}
});