diff --git a/lib/pipeline/webpack.config.js b/lib/pipeline/webpack.config.js index 27e40863..11f81aff 100644 --- a/lib/pipeline/webpack.config.js +++ b/lib/pipeline/webpack.config.js @@ -19,7 +19,6 @@ // see: https://github.com/jonschlinkert/clone-deep/pull/14 const cloneDeep = require('lodash.clonedeep'); const CompressionPlugin = require('compression-webpack-plugin'); -const fs = require('fs'); const glob = require('glob'); const HardSourceWebpackPlugin = require('hard-source-webpack-plugin'); const path = require('path'); @@ -122,9 +121,7 @@ const base = { libraryTarget: 'umd', path: path.join(dappPath, embarkJson.buildDir) }, - plugins: [ - new HardSourceWebpackPlugin() - ], + plugins: [new HardSourceWebpackPlugin()], // profiling and generating verbose stats increases build time; if stats // are generated embark will write the output to: // path.join(dappPath, '.embark/stats.[json,report]') @@ -143,7 +140,7 @@ const base = { modules: [ 'node_modules', path.join(embarkPath, 'node_modules') - ], + ] } };