ready for build production web

This commit is contained in:
2021-05-24 14:04:07 +08:00
parent 7c190261d3
commit 89ab6e56c9
4 changed files with 15 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
msw-open-music
msw-open-music.exe
dist

7
Makefile Normal file
View File

@@ -0,0 +1,7 @@
dist:
mkdir -p dist
minify web/index.js web/*.html web/*.css -o dist/
cp -rf web/*.png dist/web/
cp -f web/axios.min.js dist/web/axios.min.js
cp -f web/vue.global.prod.js dist/web/vue.js
cp -f web/vue-router.global.prod.js dist/web/vue-router.js

File diff suppressed because one or more lines are too long

1
web/vue.global.prod.js Normal file

File diff suppressed because one or more lines are too long