Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-05-20 16:55:53 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d647c1dee0814fdc151885574f6af3147f99565e
d647c1de
1 parent
06914a34
fix
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
.gitignore
package.json
vite.config.js
.gitignore
View file @
d647c1d
...
...
@@ -6,3 +6,4 @@ dist-ssr
.history
doc
.vscode
publish.sh
...
...
package.json
View file @
d647c1d
...
...
@@ -8,12 +8,7 @@
"build"
:
"vite build"
,
"build-watch"
:
"vite build --watch"
,
"build-ts"
:
"vue-tsc --noEmit && vite build"
,
"serve"
:
"vite preview"
,
"rm"
:
"rm -r /Users/huyirui/program/itomix/git/isp/f/voice"
,
"mv"
:
"mv voice/ /Users/huyirui/program/itomix/git/isp/f"
,
"git"
:
"cd /Users/huyirui/program/itomix/git/isp/f/voice && git add -A && git commit -m '前端网页更新' && git pull && git push"
,
"update"
:
"ssh -p 22 itomix@ipadbiz.cn 'cd /opt/voice/f/voice && git pull'"
,
"publish"
:
"npm run build && npm run rm && npm run mv && npm run git && npm run update"
"serve"
:
"vite preview"
},
"dependencies"
:
{
"@vitejs/plugin-legacy"
:
"^1.8.2"
,
...
...
vite.config.js
View file @
d647c1d
...
...
@@ -96,7 +96,7 @@ export default ({ command, mode }) => {
entryFileNames
:
'static/js/[name]-[hash].js'
,
assetFileNames
:
'static/[ext]/[name]-[hash].[ext]'
,
},
input
:
{
// 多页面应用模式
input
:
{
// 多页面应用模式
, 打包时配置,运行配置要处理root
main
:
path
.
resolve
(
__dirname
,
'index.html'
),
// mono1: path.resolve(__dirname, 'src/packages/mono1/index.html'),
// mono2: path.resolve(__dirname, 'src/packages/mono2/index.html'),
...
...
Please
register
or
login
to post a comment