diff options
author | André Jaenisch | 2022-10-01 16:26:38 +0200 |
---|---|---|
committer | GitHub | 2022-10-01 22:26:38 +0800 |
commit | 04e97b83115e7439d43c0ede5fe2d1b50d201c52 (patch) | |
tree | 073a20e9377c5197112327afd11d7a6f2cccb268 /webpack.config.js | |
parent | 726afe8a9e33128476e1dc85f262fe56f995d12c (diff) |
Refactor from Vue2 to Vue3 (#20044)
Close #19902
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/webpack.config.js b/webpack.config.js index 3cc65d19d..820c1359c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -4,14 +4,13 @@ import AddAssetPlugin from 'add-asset-webpack-plugin'; import LicenseCheckerWebpackPlugin from 'license-checker-webpack-plugin'; import MiniCssExtractPlugin from 'mini-css-extract-plugin'; import MonacoWebpackPlugin from 'monaco-editor-webpack-plugin'; -import VueLoader from 'vue-loader'; +import {VueLoaderPlugin} from 'vue-loader'; import EsBuildLoader from 'esbuild-loader'; import {parse, dirname} from 'path'; import webpack from 'webpack'; import {fileURLToPath} from 'url'; import {readFileSync} from 'fs'; -const {VueLoaderPlugin} = VueLoader; const {ESBuildMinifyPlugin} = EsBuildLoader; const {SourceMapDevToolPlugin} = webpack; const formatLicenseText = (licenseText) => wrapAnsi(licenseText || '', 80).trim(); @@ -242,9 +241,6 @@ export default { }, resolve: { symlinks: false, - alias: { - vue$: 'vue/dist/vue.esm.js', // needed because vue's default export is the runtime only - }, }, watchOptions: { ignored: [ |