forked from Supositware/Haha-Yes
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
345 B
JavaScript
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'),
|
|
},
|
|
},
|
|
};
|