Skip to content

Commit

Permalink
add minify
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasferreiralimax committed Aug 25, 2024
1 parent 63e6a69 commit 760acab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"scripts": {
"dev": "vite",
"build": "run-p type-check build-only",
"build:module": "run-p type-check build-only:module && npm run postbuild",
"build:module": "run-p type-check build-only:module && npm run minify && npm run postbuild",
"preview": "vite preview",
"test:unit": "vitest",
"test:e2e": "start-server-and-test preview http://localhost:4173 'cypress run --e2e'",
Expand All @@ -28,6 +28,7 @@
"build-only:module": "vite build --config vite-module.config.js",
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"minify": "esbuild dist/**/*.js --minify --outdir=dist --allow-overwrite ",
"postbuild": "node scripts/generate-dist.js",
"publish": "cd dist && npm pub && cd .."
},
Expand Down

0 comments on commit 760acab

Please sign in to comment.