replace uglifyify with @browserify updated fork

This commit is contained in:
f0x 2023-05-10 20:59:18 +02:00
commit c71ccc6b29
3 changed files with 35 additions and 26 deletions

View file

@ -29,7 +29,7 @@ let cssEntryFiles = fs.readdirSync(path.join(__dirname, "./css")).map((file) =>
const prodCfg = {
transform: [
["uglifyify", {
["@browserify/uglifyify", {
global: true,
exts: ".js"
}],
@ -62,7 +62,7 @@ skulk({
transform: [
["babelify", {
global: true,
ignore: [/node_modules\/(?!(photoswipe.*|plyr.*))/]
ignore: [/node_modules\/(?!(photoswipe.*))/]
}]
],
},