Unverified Commit 80e5180e authored by Steven's avatar Steven Committed by GitHub

Update webpack target to node12.22 (#29953)

Follow up to #29949 
parent 067075ca
...@@ -9,7 +9,7 @@ export const base = curry(function base( ...@@ -9,7 +9,7 @@ export const base = curry(function base(
config.mode = ctx.isDevelopment ? 'development' : 'production' config.mode = ctx.isDevelopment ? 'development' : 'production'
config.name = ctx.isServer ? 'server' : 'client' config.name = ctx.isServer ? 'server' : 'client'
// @ts-ignore TODO webpack 5 typings // @ts-ignore TODO webpack 5 typings
config.target = ctx.isServer ? 'node12.17' : ['web', 'es5'] config.target = ctx.isServer ? 'node12.22' : ['web', 'es5']
// Stop compilation early in a production build when an error is encountered. // Stop compilation early in a production build when an error is encountered.
// This behavior isn't desirable in development due to how the HMR system // This behavior isn't desirable in development due to how the HMR system
......
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