Partially revert "Add workflow menu button to thread lists"
This reverts commit 1e10d199a6171f88da129505977bf6ae69c2c362.
Reason for revert: we'll use Lit instead of Vue.js.
The following parts have not been reverted:
- The inject_workflows_menubtn string in the
src/static/_locales/en/messages.json file, since it will be used again
in the future, and this might cause the string translations to be
deleted from Pontoon.
- A minor CSS fix for the padding of .TWPT-btn--with-badge in
src/static/css/common/console.css.
Bug: twpowertools:115
Change-Id: I099e06d9964b2a5fb4e43baeef1a8fe07fe52043
diff --git a/webpack.config.js b/webpack.config.js
index 9d28abb..bceb4c0 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -2,7 +2,6 @@
const path = require('path');
const json5 = require('json5');
const CopyWebpackPlugin = require('copy-webpack-plugin');
-const {VueLoaderPlugin} = require('vue-loader');
const WebpackShellPluginNext = require('webpack-shell-plugin-next');
// Pontoon uses their own locale set. This array lets us convert those locales
@@ -115,11 +114,8 @@
},
]
}),
- new VueLoaderPlugin(),
new webpack.DefinePlugin({
'PRODUCTION': args.mode == 'production',
- '__VUE_OPTIONS_API__': true,
- '__VUE_PROD_DEVTOOLS__': args.mode != 'production',
}),
...getCopyPluginsForOverridenLocales(outputPath),
],
@@ -139,7 +135,7 @@
{
test: /\.s[ac]ss$/i,
use: [
- 'vue-style-loader',
+ 'style-loader',
'css-loader',
{
loader: 'sass-loader',
@@ -151,22 +147,11 @@
],
},
{
- test: /\.css$/i,
- use: [
- 'vue-style-loader',
- 'css-loader',
- ],
- },
- {
test: /\.js$/i,
use: [
preprocessorLoader,
],
},
- {
- test: /\.vue$/i,
- loader: 'vue-loader',
- },
]
},
};