mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #33517 from nextcloud/bugfix/noid/npm-link
This commit is contained in:
commit
1faf4604e6
1 changed files with 4 additions and 2 deletions
|
|
@ -141,7 +141,9 @@ module.exports = {
|
|||
new VueLoaderPlugin(),
|
||||
new webpack.ProvidePlugin({
|
||||
// Provide jQuery to jquery plugins as some are loaded before $ is exposed globally.
|
||||
jQuery: 'jquery',
|
||||
// We need to provide the path to node_moduels as otherwise npm link will fail due
|
||||
// to tribute.js checking for jQuery in @nextcloud/vue
|
||||
jQuery: path.resolve(path.join(__dirname, 'node_modules/jquery')),
|
||||
// Shim ICAL to prevent using the global object (window.ICAL).
|
||||
// The library ical.js heavily depends on instanceof checks which will
|
||||
// break if two separate versions of the library are used (e.g. bundled one
|
||||
|
|
@ -155,7 +157,7 @@ module.exports = {
|
|||
handlebars: 'handlebars/runtime',
|
||||
},
|
||||
extensions: ['*', '.js', '.vue'],
|
||||
symlinks: false,
|
||||
symlinks: true,
|
||||
fallback: {
|
||||
stream: require.resolve('stream-browserify'),
|
||||
buffer: require.resolve('buffer'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue