Commit 653f0a2a authored by Luis Fernando Alvarez D's avatar Luis Fernando Alvarez D Committed by Joe Haddad

Disabled the checkWasmTypes config in webpack (#6978)

* Disabled the checkWasmTypes config in webpack

* Typescripted
parent ae5eeb39
......@@ -128,12 +128,13 @@ export default function getBaseWebpackConfig (dir: string, {dev = false, debug =
// So that the serverless bundles have 0 runtime dependencies
'amp-toolbox-optimizer' // except this one
],
optimization: isServer ? {
optimization: Object.assign({
checkWasmTypes: false,
nodeEnv: false,
}, isServer ? {
splitChunks: false,
minimize: false
} : Object.assign({
nodeEnv: false,
} : {
runtimeChunk: __selectivePageBuilding ? false : {
name: CLIENT_STATIC_FILES_RUNTIME_WEBPACK
},
......
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