add minify configfile

This commit is contained in:
Tilman Kranz 2024-11-11 02:36:39 +01:00 committed by Tilman Kranz
parent bbb3d86e16
commit 422446c914
2 changed files with 26 additions and 0 deletions

8
.minify.json Normal file
View File

@ -0,0 +1,8 @@
{
"js": {
"type": "terser",
"terser": {
"mangle": false
}
}
}

18
package.json Normal file
View File

@ -0,0 +1,18 @@
{
"name": "myplayer",
"version": "1.0.0",
"description": "A Web-MP3-Player with Playlist Support",
"main": "src/player.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://tk-sls.de/git/tk-sls.de/myplayer.git"
},
"author": "tilt <tilt@linuxfoo.de>",
"license": "MIT",
"dependencies": {
"minify": "^11.4.1"
}
}