2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-05 16:42:32 +03:00

Fixing UMD build

This commit is contained in:
Nick Uraltsev
2016-10-14 23:24:59 -07:00
parent e8c5c49ea2
commit 81e566b905
+1 -7
View File
@@ -15,11 +15,6 @@ function generateConfig(name) {
node: {
process: false
},
externals: [
{
'./adapters/http': 'var undefined'
}
],
devtool: 'source-map'
};
@@ -28,7 +23,7 @@ function generateConfig(name) {
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV)
})
];
if (uglify) {
config.plugins.push(
new webpack.optimize.UglifyJsPlugin({
@@ -47,4 +42,3 @@ function generateConfig(name) {
});
module.exports = config;