Commit 288d7239 authored by Gaetan's avatar Gaetan

build(webpack): Remove Export default library

parent 9965e325
......@@ -15,6 +15,7 @@
}
},
"plugins": [
"transform-object-rest-spread"
"transform-object-rest-spread",
"transform-object-assign"
]
}
......@@ -702,5 +702,5 @@ var isDate = function isDate(unknown) {
};
/***/ })
/******/ ])["default"];
/******/ ]);
});
\ No newline at end of file
This diff is collapsed.
const pkg = require('./package.json');
const gulp = require('gulp');
const webpack = require('webpack');
......@@ -101,7 +100,7 @@ gulp.task('build:scripts', function() {
filename: config.javascript.output.filename + '.js',
library: config.javascript.output.name,
libraryTarget: config.javascript.output.format,
libraryExport: 'default'
// libraryExport: 'default'
},
module: {
rules: [
......@@ -114,7 +113,10 @@ gulp.task('build:scripts', function() {
}
},
],
}
},
// plugins: [
// new webpack.optimize.ModuleConcatenationPlugin()
// ]
}), webpack)
.pipe(concat(config.javascript.output.filename + '.js'))
.pipe(gulp.dest(config.javascript.destination))
......
......@@ -1774,6 +1774,15 @@
"babel-runtime": "^6.22.0"
}
},
"babel-plugin-transform-object-assign": {
"version": "6.22.0",
"resolved": "https://registry.npmjs.org/babel-plugin-transform-object-assign/-/babel-plugin-transform-object-assign-6.22.0.tgz",
"integrity": "sha1-+Z0vZvGgsNSY40bFNZaEdAyqILo=",
"dev": true,
"requires": {
"babel-runtime": "^6.22.0"
}
},
"babel-plugin-transform-object-rest-spread": {
"version": "6.26.0",
"resolved": "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment