Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"build:theme-generator": "pnpm run --filter 'tdesign-theme-generator' build",
"build-watch:theme-generator": "pnpm run --filter 'tdesign-theme-generator' build:watch",
"site": "npm run build:components && cd site && npm run build",
"site:intranet": "npm run build:components && cd site && npm run site:intranet",
"site:preview": "npm run build:components && cd site && npm run site:preview",
"auto-release-collection": "pnpm run --filter 'auto-release-collection' start",
"prepare": "husky install"
Expand Down Expand Up @@ -54,4 +53,4 @@
"git add"
]
}
}
}
1 change: 0 additions & 1 deletion site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"build": "vite build",
"preview": "vite preview",
"site": "run-s build",
"site:intranet": "vite build --mode intranet",
"site:preview": "vite build --mode preview",
"lint:fix": "eslint --ext .vue,.js,.ts,.tsx ./src --fix"
},
Expand Down
3 changes: 1 addition & 2 deletions site/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import vue from '@vitejs/plugin-vue2';
import tdocPlugin from './plugin-tdoc/index.js';

const publicPathMap = {
intranet: '/',
preview: '/',
production: 'https://static.tdesign.tencent.com/',
production: '/', // 虽然一样但是还是留着 各个站点保持一致
};

// https://vitejs.dev/config/
Expand Down
Loading