1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 08:10:18 +00:00
musix-oss/node_modules/snekfetch/webpack.config.js
MatteZ02 5eb0264906 fix
2019-05-30 12:06:47 +03:00

19 lines
345 B
JavaScript

const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
module.exports = {
entry: require.resolve('.'),
output: {
filename: 'browser.js',
library: 'Snekfetch',
libraryTarget: 'umd',
},
plugins: [
new UglifyJSPlugin(),
],
resolve: {
alias: {
querystring: require.resolve('./src/qs_mock'),
},
},
};