diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-08-03 12:54:37 +0200 |
---|---|---|
committer | npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> | 2020-08-03 11:26:03 +0000 |
commit | 1a1b3e20e470a945dd9f5fab1d99174b10cbb141 (patch) | |
tree | aacff8872bcfd47685e9a9fb3e5e3a423e498f59 /core/webpack.js | |
parent | 4987fe9a51f0b889d2b99428c967014d95bb13ae (diff) | |
download | nextcloud-server-1a1b3e20e470a945dd9f5fab1d99174b10cbb141.tar.gz nextcloud-server-1a1b3e20e470a945dd9f5fab1d99174b10cbb141.zip |
Fix unified search
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'core/webpack.js')
-rw-r--r-- | core/webpack.js | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/core/webpack.js b/core/webpack.js index 631f1532399..cf9c332ead0 100644 --- a/core/webpack.js +++ b/core/webpack.js @@ -4,19 +4,20 @@ const webpack = require('webpack') module.exports = [ { entry: { + files_client: path.join(__dirname, 'src/files/client.js'), + files_fileinfo: path.join(__dirname, 'src/files/fileinfo.js'), + files_iedavclient: path.join(__dirname, 'src/files/iedavclient.js'), + install: path.join(__dirname, 'src/install.js'), login: path.join(__dirname, 'src/login.js'), main: path.join(__dirname, 'src/main.js'), maintenance: path.join(__dirname, 'src/maintenance.js'), recommendedapps: path.join(__dirname, 'src/recommendedapps.js'), - install: path.join(__dirname, 'src/install.js'), - files_client: path.join(__dirname, 'src/files/client.js'), - files_fileinfo: path.join(__dirname, 'src/files/fileinfo.js'), - files_iedavclient: path.join(__dirname, 'src/files/iedavclient.js') + 'unified-search': path.join(__dirname, 'src/unified-search.js'), }, output: { filename: '[name].js', path: path.resolve(__dirname, 'js/dist'), - jsonpFunction: 'webpackJsonpCore' + jsonpFunction: 'webpackJsonpCore', }, module: { rules: [ @@ -26,25 +27,25 @@ module.exports = [ options: { type: 'commonjs', exports: 'dav', - } - } - ] + }, + }, + ], }, plugins: [ new webpack.ProvidePlugin({ - '_': "underscore", - $: "jquery", - jQuery: "jquery" - }) - ] + '_': 'underscore', + $: 'jquery', + jQuery: 'jquery', + }), + ], }, { entry: { - systemtags: path.resolve(__dirname, 'src/systemtags/merged-systemtags.js') + systemtags: path.resolve(__dirname, 'src/systemtags/merged-systemtags.js'), }, output: { filename: '[name].js', - path: path.resolve(__dirname, 'js/dist') - } - } + path: path.resolve(__dirname, 'js/dist'), + }, + }, ] |