[Rt-commit] rt 01/06: Drop obsolete babel-minify-webpack-plugin
sunnavy
sunnavy at bestpractical.com
Wed Jul 28 21:25:25 UTC 2021
This is an automated email from the git hooks/post-receive script.
sunnavy pushed a commit to branch 5.0/search-results-header-order-indicator
in repository rt.
commit 1468c14679020f89c56c0c2acf8c4377f523ec56
Author: sunnavy <sunnavy at bestpractical.com>
AuthorDate: Mon Jun 28 22:54:11 2021 +0800
Drop obsolete babel-minify-webpack-plugin
It seems unnecessary too as the generated fontawesome is already
minified.
---
devel/third-party/fontawesome-5.11.2/README | 3 +--
devel/third-party/fontawesome-5.11.2/webpack.config.js | 6 ------
2 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/devel/third-party/fontawesome-5.11.2/README b/devel/third-party/fontawesome-5.11.2/README
index 7134ba4846..22238bbb5f 100644
--- a/devel/third-party/fontawesome-5.11.2/README
+++ b/devel/third-party/fontawesome-5.11.2/README
@@ -10,11 +10,10 @@ $ npm i @fortawesome/fontawesome-svg-core
$ npm i @fortawesome/free-solid-svg-icons
$ npm i @fortawesome/free-regular-svg-icons
-2. Install the webpack utility and babel helper
+2. Install webpack utility
$ npm i webpack
$ npm i webpack-cli
-$ npm i babel-minify-webpack-plugin
3. Edit index.js and add the new icons you want.
diff --git a/devel/third-party/fontawesome-5.11.2/webpack.config.js b/devel/third-party/fontawesome-5.11.2/webpack.config.js
index 20573d39b2..41927a3ba6 100644
--- a/devel/third-party/fontawesome-5.11.2/webpack.config.js
+++ b/devel/third-party/fontawesome-5.11.2/webpack.config.js
@@ -1,13 +1,7 @@
-const BabelMinifyPlugin = require('babel-minify-webpack-plugin')
module.exports = {
mode: 'production',
entry: './index.js',
output: {
filename: './fontawesome.js'
- },
- optimization: {
- minimizer: [
- new BabelMinifyPlugin()
- ]
}
}
--
To stop receiving notification emails like this one, please contact
sysadmin at bestpractical.com.
More information about the rt-commit
mailing list