Open thescientist13 opened 6 years ago
Thanks for making this and let me know if you need anymore info!
Here is the debug of this.options
options { entry: { index: './index.jsx', vendor: './vendor.js' },
output:
{ path: '/Users/owenbuckley/Workspace/pvdgeeks.org/website-frontend/build',
filename: '[name].[chunkhash].bundle.js',
sourceMapFilename: '[name].map',
chunkFilename: '[id].chunk.js',
library: '',
hotUpdateFunction: 'webpackHotUpdate',
jsonpFunction: 'webpackJsonp',
libraryTarget: 'var',
hotUpdateChunkFilename: '[id].[hash].hot-update.js',
hotUpdateMainFilename: '[hash].hot-update.json',
crossOriginLoading: false,
chunkLoadTimeout: 120000,
hashFunction: 'md5',
hashDigest: 'hex',
hashDigestLength: 20,
devtoolLineToLine: false,
strictModuleExceptionHandling: false },
context: '/Users/owenbuckley/Workspace/pvdgeeks.org/website-frontend/src',
resolve:
{ extensions: [ '.jsx', '.js' ],
unsafeCache: true,
modules: [ 'node_modules' ],
mainFiles: [ 'index' ],
aliasFields: [ 'browser' ],
mainFields: [ 'browser', 'module', 'main' ],
cacheWithContext: false },
module:
{ rules: [ [Object], [Object], [Object], [Object], [Object] ],
unknownContextRequest: '.',
unknownContextRegExp: false,
unknownContextRecursive: true,
unknownContextCritical: true,
exprContextRequest: '.',
exprContextRegExp: false,
exprContextRecursive: true,
exprContextCritical: true,
wrappedContextRegExp: /.*/,
wrappedContextRecursive: true,
wrappedContextCritical: false,
strictExportPresence: false,
strictThisContextOnImports: false,
unsafeCache: true },
plugins:
[ HtmlWebpackPlugin {
options: [Object],
childCompilerHash: '5db0e8d96669113f3bed3fe6e6b1a07f',
childCompilationOutputName: 'index.html',
assetJson: '["common.c5a9824e8044d3f7cbc4.bundle.js","index.0a54e7dbca34e2b7080b.bundle.js","styles.0a54e7dbca34e2b7080b.css","vendor.f6c1c794259a0efc1863.bundle.js"]' },
CommonsChunkPlugin {
chunkNames: [Object],
filenameTemplate: undefined,
minChunks: undefined,
selectedChunks: undefined,
children: undefined,
async: undefined,
minSize: undefined,
ident: '/Users/owenbuckley/Workspace/pvdgeeks.org/website-frontend/node_modules/webpack/lib/optimize/CommonsChunkPlugin.js0' },
ProvidePlugin { definitions: [Object] },
WebpackMd5Hash {},
FaviconsWebpackPlugin { options: [Object] },
WebappManifestPlugin { config: [Object] },
ExtractTextPlugin { filename: 'styles.[chunkhash].css', id: 1, options: {} },
HtmlCriticalWebpackPlugin { options: [Object] },
UglifyJsPlugin { options: [Object] },
DefinePlugin { definitions: [Object] } ],
watchOptions: {},
devtool: false,
cache: true,
target: 'web',
node:
{ console: false,
process: true,
global: true,
Buffer: true,
setImmediate: true,
__filename: 'mock',
__dirname: 'mock' },
performance: { maxAssetSize: 250000, maxEntrypointSize: 250000, hints: false },
resolveLoader:
{ unsafeCache: true,
mainFields: [ 'loader', 'main' ],
extensions: [ '.js', '.json' ],
mainFiles: [ 'index' ],
cacheWithContext: false } }
options.output { path: '/Users/owenbuckley/Workspace/pvdgeeks.org/website-frontend/build',
filename: '[name].[chunkhash].bundle.js',
sourceMapFilename: '[name].map',
chunkFilename: '[id].chunk.js',
library: '',
hotUpdateFunction: 'webpackHotUpdate',
jsonpFunction: 'webpackJsonp',
libraryTarget: 'var',
hotUpdateChunkFilename: '[id].[hash].hot-update.js',
hotUpdateMainFilename: '[hash].hot-update.json',
crossOriginLoading: false,
chunkLoadTimeout: 120000,
hashFunction: 'md5',
hashDigest: 'hex',
hashDigestLength: 20,
devtoolLineToLine: false,
strictModuleExceptionHandling: false }
Configuration
Note: I am also using html-webpack-plugin, but in conjunction with webpack-merge.
Error
The issue appears to be with this section of code
Environment
webpack@3.6.0
webapp-manifest-plugin@^0.0.4
html-webpack-plugin@^2.30.1
node@6.11.2