forked from opentiny/tiny-engine
feat(cdn): change cdn from onmicrosoft to unpkg (#750)
This commit is contained in:
parent
59eaf035bb
commit
871463f185
|
@ -43,7 +43,7 @@ export default defineConfig(({ command, mode }) => {
|
|||
}
|
||||
|
||||
const vuePluginConfig = {}
|
||||
const styleLinks = ['https://npm.onmicrosoft.cn/@opentiny/vue-theme@3.14/index.css']
|
||||
const styleLinks = ['https://unpkg.com/@opentiny/vue-theme@3.14/index.css']
|
||||
|
||||
config.publicDir = false
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# alpha mode, used by the "build:alpha" script
|
||||
|
||||
NODE_ENV=production
|
||||
VITE_CDN_DOMAIN=https://npm.onmicrosoft.cn
|
||||
VITE_CDN_DOMAIN=https://unpkg.com
|
||||
VITE_LOCAL_IMPORT_MAPS=false
|
||||
VITE_LOCAL_BUNDLE_DEPS=false
|
||||
# VITE_ORIGIN=
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# development mode, used by the "vite" command
|
||||
|
||||
NODE_ENV=development
|
||||
VITE_CDN_DOMAIN=https://npm.onmicrosoft.cn
|
||||
VITE_CDN_DOMAIN=https://unpkg.com
|
||||
VITE_LOCAL_IMPORT_MAPS=false
|
||||
VITE_LOCAL_BUNDLE_DEPS=false
|
||||
# request data via alpha service
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# prod mode, used by the "build:prod" script
|
||||
|
||||
NODE_ENV=production
|
||||
VITE_CDN_DOMAIN=https://npm.onmicrosoft.cn
|
||||
VITE_CDN_DOMAIN=https://unpkg.com
|
||||
VITE_LOCAL_IMPORT_MAPS=false
|
||||
VITE_LOCAL_BUNDLE_DEPS=false
|
||||
#VITE_ORIGIN=
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
"npm": {
|
||||
"package": "element-plus",
|
||||
"version": "2.4.2",
|
||||
"script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs",
|
||||
"css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css",
|
||||
"script": "https://unpkg.com/element-plus@2.4.2/dist/index.full.mjs",
|
||||
"css": "https://unpkg.com/element-plus@2.4.2/dist/index.css",
|
||||
"dependencies": null,
|
||||
"exportName": "ElInput",
|
||||
"destructuring": true
|
||||
|
@ -301,8 +301,8 @@
|
|||
"npm": {
|
||||
"package": "element-plus",
|
||||
"version": "2.4.2",
|
||||
"script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs",
|
||||
"css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css",
|
||||
"script": "https://unpkg.com/element-plus@2.4.2/dist/index.full.mjs",
|
||||
"css": "https://unpkg.com/element-plus@2.4.2/dist/index.css",
|
||||
"dependencies": null,
|
||||
"exportName": "ElButton",
|
||||
"destructuring": true
|
||||
|
@ -623,8 +623,8 @@
|
|||
"npm": {
|
||||
"package": "element-plus",
|
||||
"version": "2.4.2",
|
||||
"script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs",
|
||||
"css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css",
|
||||
"script": "https://unpkg.com/element-plus@2.4.2/dist/index.full.mjs",
|
||||
"css": "https://unpkg.com/element-plus@2.4.2/dist/index.css",
|
||||
"dependencies": null,
|
||||
"destructuring": true,
|
||||
"exportName": "ElForm"
|
||||
|
@ -1081,8 +1081,8 @@
|
|||
"npm": {
|
||||
"package": "element-plus",
|
||||
"version": "2.4.2",
|
||||
"script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs",
|
||||
"css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css",
|
||||
"script": "https://unpkg.com/element-plus@2.4.2/dist/index.full.mjs",
|
||||
"css": "https://unpkg.com/element-plus@2.4.2/dist/index.css",
|
||||
"dependencies": null,
|
||||
"destructuring": true,
|
||||
"exportName": "ElFormItem"
|
||||
|
@ -1432,8 +1432,8 @@
|
|||
"npm": {
|
||||
"package": "element-plus",
|
||||
"version": "2.4.2",
|
||||
"script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs",
|
||||
"css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css",
|
||||
"script": "https://unpkg.com/element-plus@2.4.2/dist/index.full.mjs",
|
||||
"css": "https://unpkg.com/element-plus@2.4.2/dist/index.css",
|
||||
"dependencies": null,
|
||||
"destructuring": true,
|
||||
"exportName": "ElTable"
|
||||
|
@ -2671,8 +2671,8 @@
|
|||
"npm": {
|
||||
"package": "element-plus",
|
||||
"version": "2.4.2",
|
||||
"script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs",
|
||||
"css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css",
|
||||
"script": "https://unpkg.com/element-plus@2.4.2/dist/index.full.mjs",
|
||||
"css": "https://unpkg.com/element-plus@2.4.2/dist/index.css",
|
||||
"dependencies": null,
|
||||
"destructuring": true,
|
||||
"exportName": "ElTableColumn"
|
||||
|
|
Loading…
Reference in New Issue