Skip to content

Commit ef55f8d

Browse files
authored
fix: include process Node polyfill
- Not included by default since `[email protected]` - Used by `path` module - Which is used by `@nextcloud/dialogs` Signed-off-by: Grigorii K. Shartsev <[email protected]>
1 parent 5f4e4ef commit ef55f8d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

webpack.config.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ module.exports = {
8989

9090
// Make sure we auto-inject node polyfills on demand
9191
// https://webpack.js.org/blog/2020-10-10-webpack-5-release/#automatic-nodejs-polyfills-removed
92-
new NodePolyfillPlugin(),
92+
new NodePolyfillPlugin({
93+
additionalAliases: ['process'],
94+
}),
9395

9496
// Make appName & appVersion available as a constant
9597
new webpack.DefinePlugin({ appName: JSON.stringify(appName) }),

0 commit comments

Comments
 (0)