Skip to content

Commit

Permalink
chore: 修改cdn地址
Browse files Browse the repository at this point in the history
  • Loading branch information
JackySoft committed Aug 30, 2024
1 parent 26633c5 commit db62826
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/admin/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ export default defineConfig({
process.env.NODE_ENV === 'production' &&
VitePluginExternals({
react: {
src: 'https://cdn.staticfile.net/react/18.2.0/umd/react.production.min.js',
src: 'https://marsview.cdn.bcebos.com/static/react%4018.3.1.production.min.js',
varName: 'React',
},
'react-dom': {
src: 'https://cdn.staticfile.net/react-dom/18.2.0/umd/react-dom.production.min.js',
src: 'https://marsview.cdn.bcebos.com/static/react-dom%4018.3.1.production.min.js',
varName: 'ReactDOM',
},
dayjs: {
src: 'https://cdn.staticfile.net/dayjs/1.11.10/dayjs.min.js',
src: 'https://marsview.cdn.bcebos.com/static/dayjs%401.11.13.min.js',
varName: 'dayjs',
},
antd: {
Expand Down
6 changes: 3 additions & 3 deletions packages/editor/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ export default defineConfig({
process.env.NODE_ENV === 'production' &&
VitePluginExternals({
react: {
src: 'https://cdn.staticfile.net/react/18.2.0/umd/react.production.min.js',
src: 'https://marsview.cdn.bcebos.com/static/react%4018.3.1.production.min.js',
varName: 'React',
},
'react-dom': {
src: 'https://cdn.staticfile.net/react-dom/18.2.0/umd/react-dom.production.min.js',
src: 'https://marsview.cdn.bcebos.com/static/react-dom%4018.3.1.production.min.js',
varName: 'ReactDOM',
},
dayjs: {
src: 'https://cdn.staticfile.net/dayjs/1.11.10/dayjs.min.js',
src: 'https://marsview.cdn.bcebos.com/static/dayjs%401.11.13.min.js',
varName: 'dayjs',
},
antd: {
Expand Down

0 comments on commit db62826

Please sign in to comment.