[med-svn] [Git][med-team/q2-demux][master] 2 commits: Switch to terser-webpack-plugin (drop uglifyjs-webpack-plugin)
Andreas Tille (@tille)
gitlab at salsa.debian.org
Tue May 24 09:44:46 BST 2022
Andreas Tille pushed to branch master at Debian Med / q2-demux
Commits:
bbb4e903 by Pirate Praveen at 2022-05-24T12:51:11+05:30
Switch to terser-webpack-plugin (drop uglifyjs-webpack-plugin)
- - - - -
19f09b6c by Andreas Tille at 2022-05-24T08:44:39+00:00
Merge branch 'webpack5' into 'master'
Switch to terser-webpack-plugin (drop uglifyjs-webpack-plugin)
See merge request med-team/q2-demux!1
- - - - -
2 changed files:
- debian/patches/0001-make-compatible-with-webpack4.patch → debian/patches/0001-make-compatible-with-webpack5.patch
- debian/patches/series
Changes:
=====================================
debian/patches/0001-make-compatible-with-webpack4.patch → debian/patches/0001-make-compatible-with-webpack5.patch
=====================================
@@ -7,7 +7,7 @@ Last-Update: 2021-08-24
var path = require('path');
var webpack = require('webpack');
-+const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
++const TerserPlugin = require('terser-webpack-plugin');
module.exports = {
+ mode: 'production',
@@ -20,8 +20,8 @@ Last-Update: 2021-08-24
- new webpack.optimize.UglifyJsPlugin({
- compress: { warnings: false },
- mangle: { except: ['init'] }
-+ new UglifyJsPlugin({
-+ uglifyOptions: {
++ new TerserPlugin({
++ terserOptions: {
+ "warnings": false
+ }
}),
@@ -30,7 +30,7 @@ Last-Update: 2021-08-24
],
output: {
path: __dirname,
-@@ -32,14 +33,22 @@
+@@ -32,14 +33,19 @@
extensions: ['', '.js']
},
module: {
@@ -41,12 +41,10 @@ Last-Update: 2021-08-24
exclude: /node_modules/,
- query: {
- presets: ['es2015']
+- }
+- }
+ use: [{
+ loader: 'babel-loader',
-+ query: {
-+ presets: ['@babel/preset-env']
- }
-- }
+ }]
+ }
]
=====================================
debian/patches/series
=====================================
@@ -1 +1 @@
-0001-make-compatible-with-webpack4.patch
+0001-make-compatible-with-webpack5.patch
View it on GitLab: https://salsa.debian.org/med-team/q2-demux/-/compare/7a418d9b6321fa7a8f4e95f5012fff71bf3c0b4a...19f09b6c35580c8dc0525c3aabbe044030d86b5b
--
View it on GitLab: https://salsa.debian.org/med-team/q2-demux/-/compare/7a418d9b6321fa7a8f4e95f5012fff71bf3c0b4a...19f09b6c35580c8dc0525c3aabbe044030d86b5b
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220524/c34321da/attachment-0001.htm>
More information about the debian-med-commit
mailing list