diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-12-04 15:24:25 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-12-04 15:24:25 +0000 |
| commit | fac89b11bc20d86ec435c1b450ccc50219002ecf (patch) | |
| tree | 6d779253179cd5813aa5ab315d4a0d106fbbfe4c /webpack.common.js | |
| parent | d448125b9902919c070ce7aecbfdfe1b47feb3b5 (diff) | |
update vue2 -> vue3, fixes #3747
Closes #3747
Merge request studip/studip!3108
Diffstat (limited to 'webpack.common.js')
| -rw-r--r-- | webpack.common.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/webpack.common.js b/webpack.common.js index 4c5b16c..9fa316d 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -1,7 +1,6 @@ -const webpack = require("webpack"); const path = require("path"); const MiniCssExtractPlugin = require("mini-css-extract-plugin"); -const VueLoaderPlugin = require('vue-loader/lib/plugin'); +const { VueLoaderPlugin } = require('vue-loader'); const ESLintPlugin = require('eslint-webpack-plugin'); const { CKEditorTranslationsPlugin } = require( '@ckeditor/ckeditor5-dev-translations' ); @@ -98,9 +97,6 @@ module.exports = { { test: /\.vue$/, loader: 'vue-loader', - options: { - compiler: require('vue-template-babel-compiler') - } } ] }, @@ -125,7 +121,6 @@ module.exports = { ], resolve: { alias: { - 'vue$': 'vue/dist/vue.esm.js', 'jquery-ui/data': 'jquery-ui/ui/data', 'jquery-ui/disable-selection': 'jquery-ui/ui/disable-selection', 'jquery-ui/focusable': 'jquery-ui/ui/focusable', @@ -146,7 +141,7 @@ module.exports = { 'jquery-ui/widgets/draggable': 'jquery-ui/ui/widgets/draggable', 'jquery-ui/widgets/droppable': 'jquery-ui/ui/widgets/droppable', 'jquery-ui/widgets/resizable': 'jquery-ui/ui/widgets/resizable', - '@': path.resolve(__dirname, 'resources') + '@': path.resolve(__dirname, 'resources'), }, extensions: ['.ts', '.vue', '.js'], fallback: { |
