File tree Expand file tree Collapse file tree 3 files changed +3
-12
lines changed
Expand file tree Collapse file tree 3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ const devConfig = require('../node_modules/@labkey/build/webpack/dev.config')
88
99const entryPoints = require ( '../src/client/entryPoints' ) ;
1010const constants = require ( '../node_modules/@labkey/build/webpack/constants' ) ;
11- const webpack = require ( 'webpack' ) ;
1211const NodePolyfillPlugin = require ( "node-polyfill-webpack-plugin" )
1312
1413const clientConfig = devConfig
@@ -23,9 +22,7 @@ clientConfig.resolve.fallback =
2322 "fs" : false
2423}
2524
26- clientConfig . plugins =
27- [ new webpack . ProvidePlugin ( { regeneratorRuntime : 'regenerator-runtime' } ) ,
28- new NodePolyfillPlugin ( ) ] . concat ( constants . processPlugins ( entryPoints ) )
25+ clientConfig . plugins = [ new NodePolyfillPlugin ( ) ] . concat ( constants . processPlugins ( entryPoints ) )
2926
3027clientConfig . module . rules = clientConfig . module . rules . concat (
3128{
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ const prodConfig = require('../node_modules/@labkey/build/webpack/prod.config')
88
99const entryPoints = require ( '../src/client/entryPoints' ) ;
1010const constants = require ( '../node_modules/@labkey/build/webpack/constants' ) ;
11- const webpack = require ( 'webpack' ) ;
1211const NodePolyfillPlugin = require ( "node-polyfill-webpack-plugin" )
1312
1413const clientConfig = prodConfig
@@ -23,9 +22,7 @@ clientConfig.resolve.fallback =
2322 "fs" : false
2423}
2524
26- clientConfig . plugins =
27- [ new webpack . ProvidePlugin ( { regeneratorRuntime : 'regenerator-runtime' } ) ,
28- new NodePolyfillPlugin ( ) ] . concat ( constants . processPlugins ( entryPoints ) )
25+ clientConfig . plugins = [ new NodePolyfillPlugin ( ) ] . concat ( constants . processPlugins ( entryPoints ) )
2926
3027clientConfig . module . rules = clientConfig . module . rules . concat (
3128{
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ const watchConfig = require('../node_modules/@labkey/build/webpack/watch.config'
88
99const entryPoints = require ( '../src/client/entryPoints' ) ;
1010const constants = require ( '../node_modules/@labkey/build/webpack/constants' ) ;
11- const webpack = require ( 'webpack' ) ;
1211const NodePolyfillPlugin = require ( "node-polyfill-webpack-plugin" )
1312
1413const clientConfig = watchConfig
@@ -23,9 +22,7 @@ clientConfig.resolve.fallback =
2322 "fs" : false
2423}
2524
26- clientConfig . plugins =
27- [ new webpack . ProvidePlugin ( { regeneratorRuntime : 'regenerator-runtime' } ) ,
28- new NodePolyfillPlugin ( ) ] . concat ( constants . processPlugins ( entryPoints ) )
25+ clientConfig . plugins = [ new NodePolyfillPlugin ( ) ] . concat ( constants . processPlugins ( entryPoints ) )
2926
3027clientConfig . module . rules = clientConfig . module . rules . concat (
3128{
You can’t perform that action at this time.
0 commit comments