diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-03-31 17:39:08 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-03-31 17:39:08 +0000 |
| commit | afdc61b9b7088f5d9880a4a8466461bd8c5aeb78 (patch) | |
| tree | 08103348eced79527f100737ad09fbfb31db04ba /build | |
| parent | a0099ecb6699f02667e7cae39c688e4c0e86f30c (diff) | |
| parent | 052ad2fe3f824213baac34ba7831a201e0e4d762 (diff) | |
Merge branch 'vue3-no-compat' into 'vue3-again'
Remove Vue3 compat build
See merge request pleroma/pleroma-fe!1500
Diffstat (limited to 'build')
| -rw-r--r-- | build/webpack.base.conf.js | 4 | ||||
| -rw-r--r-- | build/webpack.dev.conf.js | 4 | ||||
| -rw-r--r-- | build/webpack.prod.conf.js | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index 1a0e486a..f442b2a0 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -35,7 +35,6 @@ module.exports = { path.join(__dirname, '../node_modules') ], alias: { - 'vue': '@vue/compat', 'static': path.resolve(__dirname, '../static'), 'src': path.resolve(__dirname, '../src'), 'assets': path.resolve(__dirname, '../src/assets'), @@ -69,9 +68,6 @@ module.exports = { return true } return false - }, - compatConfig: { - MODE: 2 } } } diff --git a/build/webpack.dev.conf.js b/build/webpack.dev.conf.js index 159572ba..4605b93d 100644 --- a/build/webpack.dev.conf.js +++ b/build/webpack.dev.conf.js @@ -21,7 +21,9 @@ module.exports = merge(baseWebpackConfig, { new webpack.DefinePlugin({ 'process.env': config.dev.env, 'COMMIT_HASH': JSON.stringify('DEV'), - 'DEV_OVERRIDES': JSON.stringify(config.dev.settings) + 'DEV_OVERRIDES': JSON.stringify(config.dev.settings), + '__VUE_OPTIONS_API__': true, + '__VUE_PROD_DEVTOOLS__': false }), // https://github.com/glenjamin/webpack-hot-middleware#installation--usage new webpack.HotModuleReplacementPlugin(), diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index ed11ebad..a67ed2f6 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -36,7 +36,9 @@ var webpackConfig = merge(baseWebpackConfig, { new webpack.DefinePlugin({ 'process.env': env, 'COMMIT_HASH': JSON.stringify(commitHash), - 'DEV_OVERRIDES': JSON.stringify(undefined) + 'DEV_OVERRIDES': JSON.stringify(undefined), + '__VUE_OPTIONS_API__': true, + '__VUE_PROD_DEVTOOLS__': false }), // extract css into its own file new MiniCssExtractPlugin({ |
