shift73k/assets_old/node_modules/svg-sprite-loader/examples/server-side-rendering/webpack.config.js

24 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'
}
]
}
});