make the linter happy

This commit is contained in:
Michael Bradley, Jr 2018-08-17 17:14:28 -05:00
parent 7fb9c552dc
commit 67147f2cad

View File

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