diff options
-rw-r--r-- | apps/accessibility/webpack.js | 36 | ||||
-rw-r--r-- | apps/comments/webpack.js | 41 | ||||
-rw-r--r-- | apps/dashboard/webpack.js | 34 | ||||
-rw-r--r-- | apps/dav/webpack.js | 35 | ||||
-rw-r--r-- | apps/files/webpack.js | 39 | ||||
-rw-r--r-- | apps/files_sharing/webpack.js | 43 | ||||
-rw-r--r-- | apps/files_trashbin/webpack.js | 35 | ||||
-rw-r--r-- | apps/files_versions/webpack.js | 35 | ||||
-rw-r--r-- | apps/oauth2/webpack.js | 35 | ||||
-rw-r--r-- | apps/settings/webpack.js | 63 | ||||
-rw-r--r-- | apps/systemtags/webpack.js | 35 | ||||
-rw-r--r-- | apps/twofactor_backupcodes/webpack.js | 36 | ||||
-rw-r--r-- | apps/updatenotification/webpack.js | 34 | ||||
-rw-r--r-- | apps/user_status/webpack.js | 42 | ||||
-rw-r--r-- | apps/weather_status/webpack.js | 49 | ||||
-rw-r--r-- | apps/workflowengine/webpack.js | 34 | ||||
-rw-r--r-- | core/webpack.js | 76 |
17 files changed, 0 insertions, 702 deletions
diff --git a/apps/accessibility/webpack.js b/apps/accessibility/webpack.js deleted file mode 100644 index be18f940b7b..00000000000 --- a/apps/accessibility/webpack.js +++ /dev/null @@ -1,36 +0,0 @@ -/** - * @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com> - * - * @author John Molakvoæ <skjnldsv@protonmail.com> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -const path = require('path') - -module.exports = { - entry: { - accessibility: path.join(__dirname, 'src', 'main.js'), - accessibilityoca: path.join(__dirname, 'src', 'accessibilityoca.js'), - }, - output: { - path: path.resolve(__dirname, './js'), - publicPath: '/js/', - filename: '[name].js', - jsonpFunction: 'webpackJsonpAccessibility', - }, -} diff --git a/apps/comments/webpack.js b/apps/comments/webpack.js deleted file mode 100644 index 9e7886931ed..00000000000 --- a/apps/comments/webpack.js +++ /dev/null @@ -1,41 +0,0 @@ -/** - * @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com> - * - * @author John Molakvoæ <skjnldsv@protonmail.com> - * @author Roeland Jago Douma <roeland@famdouma.nl> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -const path = require('path') - -module.exports = { - entry: { - comments: path.join(__dirname, 'src', 'comments.js'), - 'comments-app': path.join(__dirname, 'src', 'comments-app.js'), - 'comments-tab': path.join(__dirname, 'src', 'comments-tab.js'), - }, - output: { - path: path.resolve(__dirname, './js'), - publicPath: '/js/', - filename: '[name].js', - jsonpFunction: 'webpackJsonpComments', - }, - externals: { - jquery: 'jQuery', - }, -} diff --git a/apps/dashboard/webpack.js b/apps/dashboard/webpack.js deleted file mode 100644 index 6305bc17d18..00000000000 --- a/apps/dashboard/webpack.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net> - * - * @author John Molakvoæ <skjnldsv@protonmail.com> - * @author Julius Härtl <jus@bitgrid.net> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -const path = require('path') - -module.exports = { - entry: path.join(__dirname, 'src', 'main.js'), - output: { - path: path.resolve(__dirname, './js'), - publicPath: '/js/', - filename: 'dashboard.js', - jsonpFunction: 'webpackJsonpDashboard', - }, -} diff --git a/apps/dav/webpack.js b/apps/dav/webpack.js deleted file mode 100644 index 9a2e526956c..00000000000 --- a/apps/dav/webpack.js +++ /dev/null @@ -1,35 +0,0 @@ -/** - * @copyright Copyright (c) 2021 François Freitag <mail@franek.fr> - * - * @author François Freitag <mail@franek.fr> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -const path = require('path') - -module.exports = { - entry: { - 'settings-admin-caldav': path.join(__dirname, 'src', 'settings.js'), - 'settings-personal-availability': path.join(__dirname, 'src', 'settings-personal-availability.js'), - }, - output: { - path: path.resolve(__dirname, './js'), - publicPath: '/js/', - filename: '[name].js', - }, -} diff --git a/apps/files/webpack.js b/apps/files/webpack.js deleted file mode 100644 index 81d132c0384..00000000000 --- a/apps/files/webpack.js +++ /dev/null @@ -1,39 +0,0 @@ -/** - * @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com> - * - * @author Gary Kim <gary@garykim.dev> - * @author John Molakvoæ <skjnldsv@protonmail.com> - * @author Roeland Jago Douma <roeland@famdouma.nl> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -const path = require('path') - -module.exports = { - entry: { - main: path.join(__dirname, 'src', 'main.js'), - sidebar: path.join(__dirname, 'src', 'sidebar.js'), - 'personal-settings': path.join(__dirname, 'src', 'main-personal-settings.js'), - }, - output: { - path: path.resolve(__dirname, './js/dist/'), - publicPath: '/js/', - filename: '[name].js', - chunkFilename: 'files.[id].js', - }, -} diff --git a/apps/files_sharing/webpack.js b/apps/files_sharing/webpack.js deleted file mode 100644 index 4fa87f35b81..00000000000 --- a/apps/files_sharing/webpack.js +++ /dev/null @@ -1,43 +0,0 @@ -/** - * @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com> - * - * @author John Molakvoæ <skjnldsv@protonmail.com> - * @author Julius Härtl <jus@bitgrid.net> - * @author Roeland Jago Douma <roeland@famdouma.nl> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -const path = require('path') - -module.exports = { - entry: { - additionalScripts: path.join(__dirname, 'src', 'additionalScripts.js'), - collaboration: path.join(__dirname, 'src', 'collaborationresourceshandler.js'), - files_sharing_tab: path.join(__dirname, 'src', 'files_sharing_tab.js'), - files_sharing: path.join(__dirname, 'src', 'files_sharing.js'), - main: path.join(__dirname, 'src', 'index.js'), - 'personal-settings': path.join(__dirname, 'src', 'personal-settings.js'), - }, - output: { - path: path.resolve(__dirname, './js/dist/'), - publicPath: '/js/', - filename: '[name].js', - chunkFilename: 'files_sharing.[id].js?v=[chunkhash]', - jsonpFunction: 'webpackJsonpFilesSharing', - }, -} diff --git a/apps/files_trashbin/webpack.js b/apps/files_trashbin/webpack.js deleted file mode 100644 index 005b9fe1ab1..00000000000 --- a/apps/files_trashbin/webpack.js +++ /dev/null @@ -1,35 +0,0 @@ -/** - * @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com> - * - * @author John Molakvoæ <skjnldsv@protonmail.com> - * @author Julius Härtl <jus@bitgrid.net> - * @author Roeland Jago Douma <roeland@famdouma.nl> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -const path = require('path') - -module.exports = { - entry: path.join(__dirname, 'src', 'files_trashbin.js'), - output: { - path: path.resolve(__dirname, './js'), - publicPath: '/js/', - filename: 'files_trashbin.js', - jsonpFunction: 'webpackJsonpFilesTrashbin', - }, -} diff --git a/apps/files_versions/webpack.js b/apps/files_versions/webpack.js deleted file mode 100644 index 8aae648a500..00000000000 --- a/apps/files_versions/webpack.js +++ /dev/null @@ -1,35 +0,0 @@ -/** - * @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com> - * - * @author John Molakvoæ <skjnldsv@protonmail.com> - * @author Julius Härtl <jus@bitgrid.net> - * @author Roeland Jago Douma <roeland@famdouma.nl> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -const path = require('path') - -module.exports = { - entry: path.join(__dirname, 'src', 'files_versions.js'), - output: { - path: path.resolve(__dirname, 'js'), - publicPath: '/js/', - filename: 'files_versions.js', - jsonpFunction: 'webpackJsonpFilesVersions', - }, -} diff --git a/apps/oauth2/webpack.js b/apps/oauth2/webpack.js deleted file mode 100644 index 33a8776cab2..00000000000 --- a/apps/oauth2/webpack.js +++ /dev/null @@ -1,35 +0,0 @@ -/** - * @copyright Copyright (c) 2016 Roeland Jago Douma <roeland@famdouma.nl> - * - * @author John Molakvoæ <skjnldsv@protonmail.com> - * @author Julius Härtl <jus@bitgrid.net> - * @author Roeland Jago Douma <roeland@famdouma.nl> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -const path = require('path') - -module.exports = { - entry: path.join(__dirname, 'src', 'main.js'), - output: { - path: path.resolve(__dirname, './js'), - publicPath: '/js', - filename: 'oauth2.js', - jsonpFunction: 'webpackJsonpOauth', - }, -} diff --git a/apps/settings/webpack.js b/apps/settings/webpack.js deleted file mode 100644 index 925c4e3d003..00000000000 --- a/apps/settings/webpack.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com> - * - * @author Christoph Wurst <christoph@winzerhof-wurst.at> - * @author Christopher Ng <chrng8@gmail.com> - * @author Jan C. Borchardt <hey@jancborchardt.net> - * @author John Molakvoæ <skjnldsv@protonmail.com> - * @author Roeland Jago Douma <roeland@famdouma.nl> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -const path = require('path') - -// TODO use @nextcloud/webpack-vue-config -module.exports = { - module: { - rules: [ - { - test: /\.(png|jpe?g|gif|svg|woff2?|eot|ttf)$/, - loader: 'url-loader', - options: { - name: '[name].[ext]?[hash]', - }, - }, - ] - }, - entry: { - 'settings-apps-users-management': path.join(__dirname, 'src', 'main-apps-users-management'), - 'settings-admin-security': path.join(__dirname, 'src', 'main-admin-security'), - 'settings-admin-delegation': path.join(__dirname, 'src', 'main-admin-delegation'), - 'settings-personal-security': path.join(__dirname, 'src', 'main-personal-security'), - 'settings-personal-webauthn': path.join(__dirname, 'src', 'main-personal-webauth'), - 'settings-nextcloud-pdf': path.join(__dirname, 'src', 'main-nextcloud-pdf'), - 'settings-personal-info': path.join(__dirname, 'src', 'main-personal-info'), - }, - output: { - path: path.resolve(__dirname, './js'), - publicPath: '/js/', - filename: 'vue-[name].js?v=[contenthash]', - chunkFilename: 'vue-[name].js?v=[contenthash]', - jsonpFunction: 'webpackJsonpSettings', - }, - optimization: { - splitChunks: { - automaticNameDelimiter: '-', - }, - }, -} diff --git a/apps/systemtags/webpack.js b/apps/systemtags/webpack.js deleted file mode 100644 index 9ee4c336c28..00000000000 --- a/apps/systemtags/webpack.js +++ /dev/null @@ -1,35 +0,0 @@ -/** - * @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com> - * - * @author John Molakvoæ <skjnldsv@protonmail.com> - * @author Julius Härtl <jus@bitgrid.net> - * @author Roeland Jago Douma <roeland@famdouma.nl> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -const path = require('path') - -module.exports = { - entry: path.join(__dirname, 'src', 'systemtags.js'), - output: { - path: path.resolve(__dirname, './js'), - publicPath: '/js/', - filename: 'systemtags.js', - jsonpFunction: 'webpackJsonpSystemtags', - }, -} diff --git a/apps/twofactor_backupcodes/webpack.js b/apps/twofactor_backupcodes/webpack.js deleted file mode 100644 index 231f25928ef..00000000000 --- a/apps/twofactor_backupcodes/webpack.js +++ /dev/null @@ -1,36 +0,0 @@ -/** - * @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com> - * - * @author Christoph Wurst <christoph@winzerhof-wurst.at> - * @author John Molakvoæ <skjnldsv@protonmail.com> - * @author Julius Härtl <jus@bitgrid.net> - * @author Roeland Jago Douma <roeland@famdouma.nl> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -const path = require('path') - -module.exports = { - entry: path.join(__dirname, 'src', 'settings.js'), - output: { - path: path.resolve(__dirname, 'js'), - publicPath: '/js', - filename: 'settings.js', - jsonpFunction: 'webpackJsonpTwofactorBackupcodes', - }, -} diff --git a/apps/updatenotification/webpack.js b/apps/updatenotification/webpack.js deleted file mode 100644 index f11bf541a7b..00000000000 --- a/apps/updatenotification/webpack.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com> - * - * @author John Molakvoæ <skjnldsv@protonmail.com> - * @author Julius Härtl <jus@bitgrid.net> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -const path = require('path') - -module.exports = { - entry: path.join(__dirname, 'src', 'init.js'), - output: { - path: path.resolve(__dirname, './js'), - publicPath: '/js/', - filename: 'updatenotification.js', - jsonpFunction: 'webpackJsonpUpdatenotification', - }, -} diff --git a/apps/user_status/webpack.js b/apps/user_status/webpack.js deleted file mode 100644 index 587e8244580..00000000000 --- a/apps/user_status/webpack.js +++ /dev/null @@ -1,42 +0,0 @@ -/** - * @copyright Copyright (c) 2016 Georg Ehrke <oc.list@georgehrke.com> - * - * @author Georg Ehrke <oc.list@georgehrke.com> - * @author John Molakvoæ <skjnldsv@protonmail.com> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -const path = require('path') - -module.exports = { - entry: { - dashboard: path.join(__dirname, 'src', 'dashboard'), - 'user-status-menu': path.join(__dirname, 'src', 'main-user-status-menu'), - }, - output: { - path: path.resolve(__dirname, './js'), - publicPath: '/js/', - filename: '[name].js?v=[chunkhash]', - jsonpFunction: 'webpackJsonpUserStatus', - }, - optimization: { - splitChunks: { - automaticNameDelimiter: '-', - }, - }, -} diff --git a/apps/weather_status/webpack.js b/apps/weather_status/webpack.js deleted file mode 100644 index 9e6812e0ddd..00000000000 --- a/apps/weather_status/webpack.js +++ /dev/null @@ -1,49 +0,0 @@ -/** - * @copyright Copyright (c) 2016 Julien Veyssier <eneiluj@posteo.net> - * - * @author John Molakvoæ <skjnldsv@protonmail.com> - * @author Julien Veyssier <eneiluj@posteo.net> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -const path = require('path') - -module.exports = { - entry: { - 'weather-status': path.join(__dirname, 'src', 'weather-status'), - }, - output: { - path: path.resolve(__dirname, './js'), - publicPath: '/js/', - filename: '[name].js?v=[chunkhash]', - jsonpFunction: 'webpackJsonpWeatherStatus', - }, - optimization: { - splitChunks: { - automaticNameDelimiter: '-', - }, - }, - module: { - rules: [ - { - test: /\.(png|jpg|gif|svg|woff|woff2|eot|ttf)$/, - loader: 'url-loader', - }, - ], - }, -} diff --git a/apps/workflowengine/webpack.js b/apps/workflowengine/webpack.js deleted file mode 100644 index 4dcc0bb6adb..00000000000 --- a/apps/workflowengine/webpack.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com> - * - * @author Arthur Schiwon <blizzz@arthur-schiwon.de> - * @author John Molakvoæ <skjnldsv@protonmail.com> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -const path = require('path') - -module.exports = { - entry: path.join(__dirname, 'src', 'workflowengine.js'), - output: { - path: path.resolve(__dirname, './js'), - publicPath: '/js/', - filename: 'workflowengine.js', - jsonpFunction: 'webpackJsonpWorkflowengine', - }, -} diff --git a/core/webpack.js b/core/webpack.js deleted file mode 100644 index e72e05bb7dd..00000000000 --- a/core/webpack.js +++ /dev/null @@ -1,76 +0,0 @@ -/** - * @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com> - * - * @author Christoph Wurst <christoph@winzerhof-wurst.at> - * @author John Molakvoæ <skjnldsv@protonmail.com> - * @author Julius Härtl <jus@bitgrid.net> - * @author Roeland Jago Douma <roeland@famdouma.nl> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -const path = require('path') -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'), - install: path.join(__dirname, 'src/install.js'), - login: path.join(__dirname, 'src/login.js'), - main: path.join(__dirname, 'src/main.js'), - profile: path.join(__dirname, 'src/profile.js'), - maintenance: path.join(__dirname, 'src/maintenance.js'), - recommendedapps: path.join(__dirname, 'src/recommendedapps.js'), - 'unified-search': path.join(__dirname, 'src/unified-search.js'), - }, - output: { - filename: '[name].js', - path: path.resolve(__dirname, 'js/dist'), - jsonpFunction: 'webpackJsonpCore', - }, - module: { - rules: [ - { - test: /davclient/, - loader: 'exports-loader', - options: { - type: 'commonjs', - exports: 'dav', - }, - }, - ], - }, - plugins: [ - new webpack.ProvidePlugin({ - _: 'underscore', - $: 'jquery', - jQuery: 'jquery', - }), - ], - }, - { - entry: { - systemtags: path.resolve(__dirname, 'src/systemtags/merged-systemtags.js'), - }, - output: { - filename: '[name].js', - path: path.resolve(__dirname, 'js/dist'), - }, - }, -] |