Add process polyfill for browsers
This was previously added by webpack4. It is needed in the form editor. Solves error Uncaught ReferenceError: process is not defined [MAILPOET-3214]
This commit is contained in:
committed by
Veljko V
parent
952e18c25b
commit
83ed5d9364
@@ -284,6 +284,9 @@ const adminConfig = {
|
||||
},
|
||||
],
|
||||
}),
|
||||
new webpack.ProvidePlugin({
|
||||
process: 'process/browser',
|
||||
}),
|
||||
],
|
||||
optimization: {
|
||||
runtimeChunk: 'single',
|
||||
|
Reference in New Issue
Block a user