shift73k/assets_old/node_modules/svg-sprite-loader/examples/base-webpack.config.js

24 lines
375 B
JavaScript

const path = require('path');
const packageName = require('../package.json').name;
const config = {
output: {
filename: '[name].js'
},
devtool: false,
resolve: {
alias: {
[packageName]: path.resolve(__dirname, '..')
}
},
resolveLoader: {
alias: {
[packageName]: path.resolve(__dirname, '..')
}
}
};
module.exports = config;