Skip to content

Commit

Permalink
chore(build): use vite instead of webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
stfsy committed Aug 11, 2022
1 parent a2d926a commit 268eba0
Show file tree
Hide file tree
Showing 6 changed files with 14,443 additions and 1,971 deletions.
14 changes: 3 additions & 11 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@

set -e

rm -rf dist/

VUE_CLI_SERVICE_CONFIG_PATH=vue.config.js npm run build-lib-public-no-ssr
VUE_CLI_SERVICE_CONFIG_PATH=ssr-safe-vue.config.js npm run build-lib-public-for-ssr
VUE_CLI_SERVICE_CONFIG_PATH=vue.config.js npm run build-lib-internal-no-ssr
VUE_CLI_SERVICE_CONFIG_PATH=ssr-safe-vue.config.js npm run build-lib-internal-for-ssr
VUE_CLI_SERVICE_CONFIG_PATH=vue.config.js npm run build-types

rm -rf dist/demo.html
rm -rf dist/*/demo.html
rm -rf dist/*/*/demo.html
npx vite build --config vite.config.ts
npx vite build --config vite.config.internal.ts
npm run build-types

0 comments on commit 268eba0

Please sign in to comment.