Initial Commit
This commit is contained in:
18
node_modules/snekfetch/webpack.config.js
generated
vendored
Normal file
18
node_modules/snekfetch/webpack.config.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
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'),
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user