diff --git a/apps/accessibility/webpack.js b/apps/accessibility/webpack.js index 8d4695ed7d..ddcb85d344 100644 --- a/apps/accessibility/webpack.js +++ b/apps/accessibility/webpack.js @@ -1,5 +1,4 @@ -const path = require('path'); -const { VueLoaderPlugin } = require('vue-loader'); +const path = require('path') module.exports = { entry: path.join(__dirname, 'src', 'main.js'), @@ -7,22 +6,5 @@ module.exports = { path: path.resolve(__dirname, './js'), publicPath: '/js/', filename: 'accessibility.js' - }, - module: { - rules: [ - { - test: /\.vue$/, - loader: 'vue-loader' - }, - { - test: /\.js$/, - loader: 'babel-loader', - exclude: /node_modules/ - } - ] - }, - plugins: [new VueLoaderPlugin()], - resolve: { - extensions: ['*', '.js', '.vue', '.json'] } -}; +} diff --git a/apps/comments/webpack.js b/apps/comments/webpack.js index dff1aa0518..b2413d148a 100644 --- a/apps/comments/webpack.js +++ b/apps/comments/webpack.js @@ -1,4 +1,4 @@ -const path = require('path'); +const path = require('path') module.exports = { entry: path.join(__dirname, 'src', 'comments.js'), @@ -7,34 +7,7 @@ module.exports = { publicPath: '/js/', filename: 'comments.js' }, - module: { - rules: [ - { - test: /\.css$/, - use: ['style-loader', 'css-loader'] - }, - { - test: /\.scss$/, - use: ['style-loader', 'css-loader', 'sass-loader'] - }, - { - test: /\.js$/, - loader: 'babel-loader', - exclude: /node_modules/ - }, - { - test: /\.(png|jpg|gif|svg)$/, - loader: 'file-loader', - options: { - name: '[name].[ext]?[hash]' - } - } - ] - }, externals: { jquery: 'jQuery' - }, - resolve: { - extensions: ['*', '.js'] } -}; +} diff --git a/apps/files_sharing/webpack.js b/apps/files_sharing/webpack.js index f016341f5a..8ff9afd866 100644 --- a/apps/files_sharing/webpack.js +++ b/apps/files_sharing/webpack.js @@ -1,5 +1,4 @@ const path = require('path'); -const { VueLoaderPlugin } = require('vue-loader'); module.exports = { entry: { @@ -12,31 +11,5 @@ module.exports = { publicPath: '/js/', filename: '[name].js', chunkFilename: 'files_sharing.[id].js' - - }, - module: { - rules: [ - { - test: /\.css$/, - use: ['vue-style-loader', 'css-loader'] - }, - { - test: /\.scss$/, - use: ['vue-style-loader', 'css-loader', 'sass-loader'] - }, - { - test: /\.vue$/, - loader: 'vue-loader' - }, - { - test: /\.js$/, - loader: 'babel-loader', - exclude: /node_modules/ - } - ] - }, - plugins: [new VueLoaderPlugin()], - resolve: { - extensions: ['*', '.js', '.vue', '.json'] - }, -}; + } +} diff --git a/apps/files_trashbin/webpack.js b/apps/files_trashbin/webpack.js index 2261fb08d3..fbf378933b 100644 --- a/apps/files_trashbin/webpack.js +++ b/apps/files_trashbin/webpack.js @@ -1,4 +1,4 @@ -const path = require('path'); +const path = require('path') module.exports = { entry: path.join(__dirname, 'src', 'files_trashbin.js'), @@ -6,32 +6,5 @@ module.exports = { path: path.resolve(__dirname, './js'), publicPath: '/js/', filename: 'files_trashbin.js' - }, - module: { - rules: [ - { - test: /\.css$/, - use: ['style-loader', 'css-loader'] - }, - { - test: /\.scss$/, - use: ['style-loader', 'css-loader', 'sass-loader'] - }, - { - test: /\.js$/, - loader: 'babel-loader', - exclude: /node_modules/ - }, - { - test: /\.(png|jpg|gif|svg)$/, - loader: 'file-loader', - options: { - name: '[name].[ext]?[hash]' - } - } - ] - }, - resolve: { - extensions: ['*', '.js'] } -}; +} diff --git a/apps/files_versions/webpack.js b/apps/files_versions/webpack.js index 12024a39b5..d8e9f41335 100644 --- a/apps/files_versions/webpack.js +++ b/apps/files_versions/webpack.js @@ -1,4 +1,4 @@ -const path = require('path'); +const path = require('path') module.exports = { entry: path.join(__dirname, 'src', 'files_versions.js'), @@ -6,36 +6,5 @@ module.exports = { path: path.resolve(__dirname, 'js'), publicPath: '/js/', filename: 'files_versions.js' - }, - module: { - rules: [ - { - test: /\.css$/, - use: ['style-loader', 'css-loader'] - }, - { - test: /\.scss$/, - use: ['style-loader', 'css-loader', 'sass-loader'] - }, - { - test: /\.js$/, - loader: 'babel-loader', - exclude: /node_modules/ - }, - { - test: /\.(png|jpg|gif|svg)$/, - loader: 'file-loader', - options: { - name: '[name].[ext]?[hash]' - } - }, - { - test: /\.handlebars$/, - loader: "handlebars-loader" - } - ] - }, - resolve: { - extensions: ['*', '.js'] } -}; +} diff --git a/apps/oauth2/webpack.js b/apps/oauth2/webpack.js index 1242695240..dfaf0324ee 100644 --- a/apps/oauth2/webpack.js +++ b/apps/oauth2/webpack.js @@ -1,32 +1,10 @@ const path = require('path') -const { VueLoaderPlugin } = require('vue-loader'); module.exports = { - entry: path.join(__dirname, 'src', 'main.js'), - output: { - path: path.resolve(__dirname, './js'), - publicPath: '/js', - filename: 'oauth2.js' - }, - module: { - rules: [ - { - test: /\.vue$/, - loader: 'vue-loader' - }, - { - test: /\.css$/, - use: ['vue-style-loader', 'css-loader'] - }, - ] - }, - plugins: [ - new VueLoaderPlugin() - ], - resolve: { - alias: { - 'vue$': 'vue/dist/vue.esm.js' - }, - extensions: ['*', '.js', '.vue', '.json'] - } + entry: path.join(__dirname, 'src', 'main.js'), + output: { + path: path.resolve(__dirname, './js'), + publicPath: '/js', + filename: 'oauth2.js' + } } diff --git a/apps/systemtags/webpack.js b/apps/systemtags/webpack.js index 27f1b90325..b4da502699 100644 --- a/apps/systemtags/webpack.js +++ b/apps/systemtags/webpack.js @@ -1,4 +1,4 @@ -const path = require('path'); +const path = require('path') module.exports = { entry: path.join(__dirname, 'src', 'systemtags.js'), @@ -6,32 +6,5 @@ module.exports = { path: path.resolve(__dirname, './js'), publicPath: '/js/', filename: 'systemtags.js' - }, - module: { - rules: [ - { - test: /\.css$/, - use: ['style-loader', 'css-loader'] - }, - { - test: /\.scss$/, - use: ['style-loader', 'css-loader', 'sass-loader'] - }, - { - test: /\.js$/, - loader: 'babel-loader', - exclude: /node_modules/ - }, - { - test: /\.(png|jpg|gif|svg)$/, - loader: 'file-loader', - options: { - name: '[name].[ext]?[hash]' - } - } - ] - }, - resolve: { - extensions: ['*', '.js'] } -}; +} diff --git a/apps/twofactor_backupcodes/webpack.js b/apps/twofactor_backupcodes/webpack.js index bd25bf2bbd..ab0888f67c 100644 --- a/apps/twofactor_backupcodes/webpack.js +++ b/apps/twofactor_backupcodes/webpack.js @@ -1,5 +1,4 @@ -const path = require('path'); -const { VueLoaderPlugin } = require('vue-loader'); +const path = require('path') module.exports = { entry: path.join(__dirname, 'src', 'settings.js'), @@ -7,40 +6,5 @@ module.exports = { path: path.resolve(__dirname, 'js'), publicPath: '/js', filename: 'settings.js' - }, - module: { - rules: [ - { - test: /\.css$/, - use: ['vue-style-loader', 'css-loader'] - }, - { - test: /\.scss$/, - use: ['vue-style-loader', 'css-loader', 'sass-loader'] - }, - { - test: /\.vue$/, - loader: 'vue-loader' - }, - { - test: /\.js$/, - loader: 'babel-loader', - exclude: /node_modules/ - }, - { - test: /\.(png|jpg|gif|svg)$/, - loader: 'file-loader', - options: { - name: '[name].[ext]?[hash]' - } - } - ] - }, - plugins: [new VueLoaderPlugin()], - resolve: { - alias: { - vue$: 'vue/dist/vue.esm.js', - }, - extensions: ['*', '.js', '.vue', '.json'] } -}; +} diff --git a/apps/updatenotification/js/updatenotification.js b/apps/updatenotification/js/updatenotification.js index 62571b1b47..c155ea46f8 100644 Binary files a/apps/updatenotification/js/updatenotification.js and b/apps/updatenotification/js/updatenotification.js differ diff --git a/apps/updatenotification/js/updatenotification.js.map b/apps/updatenotification/js/updatenotification.js.map index f38ee9a9b6..ee71ff5dd9 100644 Binary files a/apps/updatenotification/js/updatenotification.js.map and b/apps/updatenotification/js/updatenotification.js.map differ diff --git a/apps/updatenotification/src/components/root.vue b/apps/updatenotification/src/components/root.vue index 8375336939..60b631922e 100644 --- a/apps/updatenotification/src/components/root.vue +++ b/apps/updatenotification/src/components/root.vue @@ -409,7 +409,7 @@ } - -