mirror of
https://github.com/nextcloud/server.git
synced 2025-04-14 21:39:28 +00:00
chore(webpack): migrate to node-polyfill-webpack-plugin v4
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
This commit is contained in:
parent
6fbfdfe607
commit
1fba65545b
1 changed files with 3 additions and 1 deletions
|
@ -169,7 +169,9 @@ const config = {
|
|||
|
||||
plugins: [
|
||||
new VueLoaderPlugin(),
|
||||
new NodePolyfillPlugin(),
|
||||
new NodePolyfillPlugin({
|
||||
additionalAliases: ['process'],
|
||||
}),
|
||||
new webpack.ProvidePlugin({
|
||||
// Provide jQuery to jquery plugins as some are loaded before $ is exposed globally.
|
||||
// We need to provide the path to node_moduels as otherwise npm link will fail due
|
||||
|
|
Loading…
Add table
Reference in a new issue