Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
FLIPPED-AURORA
gin-vue-admin
提交
0e5e60e2
G
gin-vue-admin
项目概览
FLIPPED-AURORA
/
gin-vue-admin
大约 1 年 前同步成功
通知
342
Star
18155
Fork
5506
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gin-vue-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0e5e60e2
编写于
11月 25, 2021
作者:
Mr.奇淼(
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
merge seo to pgsqlDevelop
上级
fd5b1378
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
217 addition
and
22 deletion
+217
-22
web/package-lock.json
web/package-lock.json
+198
-8
web/package.json
web/package.json
+1
-1
web/src/core/config.js
web/src/core/config.js
+5
-0
web/vite.config.js
web/vite.config.js
+13
-13
未找到文件。
web/package-lock.json
浏览文件 @
0e5e60e2
...
@@ -304,6 +304,19 @@
...
@@ -304,6 +304,19 @@
"@babel/helper-validator-identifier"
:
"^7.14.5"
,
"@babel/helper-validator-identifier"
:
"^7.14.5"
,
"chalk"
:
"^2.0.0"
,
"chalk"
:
"^2.0.0"
,
"js-tokens"
:
"^4.0.0"
"js-tokens"
:
"^4.0.0"
},
"dependencies"
:
{
"chalk"
:
{
"version"
:
"2.4.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz"
,
"integrity"
:
"sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^3.2.1"
,
"escape-string-regexp"
:
"^1.0.5"
,
"supports-color"
:
"^5.3.0"
}
}
}
}
},
},
"@babel/parser"
:
{
"@babel/parser"
:
{
...
@@ -1210,6 +1223,17 @@
...
@@ -1210,6 +1223,17 @@
"integrity"
:
"sha1-7QMXwyIGT3lGbAKWa922Bas32Zg="
,
"integrity"
:
"sha1-7QMXwyIGT3lGbAKWa922Bas32Zg="
,
"dev"
:
true
"dev"
:
true
},
},
"chalk"
:
{
"version"
:
"2.4.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz"
,
"integrity"
:
"sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^3.2.1"
,
"escape-string-regexp"
:
"^1.0.5"
,
"supports-color"
:
"^5.3.0"
}
},
"is-fullwidth-code-point"
:
{
"is-fullwidth-code-point"
:
{
"version"
:
"2.0.0"
,
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npm.taobao.org/is-fullwidth-code-point/download/is-fullwidth-code-point-2.0.0.tgz"
,
"resolved"
:
"https://registry.npm.taobao.org/is-fullwidth-code-point/download/is-fullwidth-code-point-2.0.0.tgz"
,
...
@@ -1913,6 +1937,19 @@
...
@@ -1913,6 +1937,19 @@
"request"
:
"^2.88.2"
,
"request"
:
"^2.88.2"
,
"semver"
:
"^6.1.0"
,
"semver"
:
"^6.1.0"
,
"strip-ansi"
:
"^6.0.0"
"strip-ansi"
:
"^6.0.0"
},
"dependencies"
:
{
"chalk"
:
{
"version"
:
"2.4.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz"
,
"integrity"
:
"sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^3.2.1"
,
"escape-string-regexp"
:
"^1.0.5"
,
"supports-color"
:
"^5.3.0"
}
}
}
}
},
},
"@vue/compiler-core"
:
{
"@vue/compiler-core"
:
{
...
@@ -3289,14 +3326,54 @@
...
@@ -3289,14 +3326,54 @@
"dev"
:
true
"dev"
:
true
},
},
"chalk"
:
{
"chalk"
:
{
"version"
:
"
2.4
.2"
,
"version"
:
"
4.1
.2"
,
"resolved"
:
"https://registry.n
lark.com/chalk/download/chalk-2.4.2.tgz?cache=0&sync_timestamp=1627646734234&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fchalk%2Fdownload%2Fchalk-2.4
.2.tgz"
,
"resolved"
:
"https://registry.n
pmjs.org/chalk/-/chalk-4.1
.2.tgz"
,
"integrity"
:
"sha
1-zUJUFnelQzPPVBpJEIwUMrRMlCQ
="
,
"integrity"
:
"sha
512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=
="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"ansi-styles"
:
"^3.2.1"
,
"ansi-styles"
:
"^4.1.0"
,
"escape-string-regexp"
:
"^1.0.5"
,
"supports-color"
:
"^7.1.0"
"supports-color"
:
"^5.3.0"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="
,
"dev"
:
true
,
"requires"
:
{
"color-convert"
:
"^2.0.1"
}
},
"color-convert"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz"
,
"integrity"
:
"sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="
,
"dev"
:
true
,
"requires"
:
{
"color-name"
:
"~1.1.4"
}
},
"color-name"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz"
,
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
,
"dev"
:
true
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"dev"
:
true
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dev"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
}
}
}
},
},
"chardet"
:
{
"chardet"
:
{
...
@@ -3612,6 +3689,19 @@
...
@@ -3612,6 +3689,19 @@
"@types/q"
:
"^1.5.1"
,
"@types/q"
:
"^1.5.1"
,
"chalk"
:
"^2.4.1"
,
"chalk"
:
"^2.4.1"
,
"q"
:
"^1.1.2"
"q"
:
"^1.1.2"
},
"dependencies"
:
{
"chalk"
:
{
"version"
:
"2.4.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz"
,
"integrity"
:
"sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^3.2.1"
,
"escape-string-regexp"
:
"^1.0.5"
,
"supports-color"
:
"^5.3.0"
}
}
}
}
},
},
"collection-visit"
:
{
"collection-visit"
:
{
...
@@ -5090,6 +5180,17 @@
...
@@ -5090,6 +5180,17 @@
"v8-compile-cache"
:
"^2.0.3"
"v8-compile-cache"
:
"^2.0.3"
},
},
"dependencies"
:
{
"dependencies"
:
{
"chalk"
:
{
"version"
:
"2.4.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz"
,
"integrity"
:
"sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^3.2.1"
,
"escape-string-regexp"
:
"^1.0.5"
,
"supports-color"
:
"^5.3.0"
}
},
"eslint-scope"
:
{
"eslint-scope"
:
{
"version"
:
"5.1.1"
,
"version"
:
"5.1.1"
,
"resolved"
:
"https://registry.nlark.com/eslint-scope/download/eslint-scope-5.1.1.tgz"
,
"resolved"
:
"https://registry.nlark.com/eslint-scope/download/eslint-scope-5.1.1.tgz"
,
...
@@ -7287,6 +7388,19 @@
...
@@ -7287,6 +7388,19 @@
"requires"
:
{
"requires"
:
{
"chalk"
:
"^2.3.0"
,
"chalk"
:
"^2.3.0"
,
"shell-quote"
:
"^1.6.1"
"shell-quote"
:
"^1.6.1"
},
"dependencies"
:
{
"chalk"
:
{
"version"
:
"2.4.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz"
,
"integrity"
:
"sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^3.2.1"
,
"escape-string-regexp"
:
"^1.0.5"
,
"supports-color"
:
"^5.3.0"
}
}
}
}
},
},
"launch-editor-middleware"
:
{
"launch-editor-middleware"
:
{
...
@@ -7462,6 +7576,19 @@
...
@@ -7462,6 +7576,19 @@
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"chalk"
:
"^2.0.1"
"chalk"
:
"^2.0.1"
},
"dependencies"
:
{
"chalk"
:
{
"version"
:
"2.4.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz"
,
"integrity"
:
"sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^3.2.1"
,
"escape-string-regexp"
:
"^1.0.5"
,
"supports-color"
:
"^5.3.0"
}
}
}
}
},
},
"loglevel"
:
{
"loglevel"
:
{
...
@@ -8259,6 +8386,17 @@
...
@@ -8259,6 +8386,17 @@
"wcwidth"
:
"^1.0.1"
"wcwidth"
:
"^1.0.1"
},
},
"dependencies"
:
{
"dependencies"
:
{
"chalk"
:
{
"version"
:
"2.4.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz"
,
"integrity"
:
"sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^3.2.1"
,
"escape-string-regexp"
:
"^1.0.5"
,
"supports-color"
:
"^5.3.0"
}
},
"strip-ansi"
:
{
"strip-ansi"
:
{
"version"
:
"5.2.0"
,
"version"
:
"5.2.0"
,
"resolved"
:
"https://registry.nlark.com/strip-ansi/download/strip-ansi-5.2.0.tgz?cache=0&sync_timestamp=1618846877845&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fstrip-ansi%2Fdownload%2Fstrip-ansi-5.2.0.tgz"
,
"resolved"
:
"https://registry.nlark.com/strip-ansi/download/strip-ansi-5.2.0.tgz?cache=0&sync_timestamp=1618846877845&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fstrip-ansi%2Fdownload%2Fstrip-ansi-5.2.0.tgz"
,
...
@@ -8636,6 +8774,28 @@
...
@@ -8636,6 +8774,28 @@
"supports-color"
:
"^6.1.0"
"supports-color"
:
"^6.1.0"
},
},
"dependencies"
:
{
"dependencies"
:
{
"chalk"
:
{
"version"
:
"2.4.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz"
,
"integrity"
:
"sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^3.2.1"
,
"escape-string-regexp"
:
"^1.0.5"
,
"supports-color"
:
"^5.3.0"
},
"dependencies"
:
{
"supports-color"
:
{
"version"
:
"5.5.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz"
,
"integrity"
:
"sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow=="
,
"dev"
:
true
,
"requires"
:
{
"has-flag"
:
"^3.0.0"
}
}
}
},
"source-map"
:
{
"source-map"
:
{
"version"
:
"0.6.1"
,
"version"
:
"0.6.1"
,
"resolved"
:
"https://registry.npm.taobao.org/source-map/download/source-map-0.6.1.tgz"
,
"resolved"
:
"https://registry.npm.taobao.org/source-map/download/source-map-0.6.1.tgz"
,
...
@@ -10848,8 +11008,8 @@
...
@@ -10848,8 +11008,8 @@
},
},
"supports-color"
:
{
"supports-color"
:
{
"version"
:
"5.5.0"
,
"version"
:
"5.5.0"
,
"resolved"
:
"https://registry.n
lark.com/supports-color/download/supports-color-5.5.0.tgz?cache=0&sync_timestamp=1626703414084&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fsupports-color%2Fdownload%2F
supports-color-5.5.0.tgz"
,
"resolved"
:
"https://registry.n
pmjs.org/supports-color/-/
supports-color-5.5.0.tgz"
,
"integrity"
:
"sha
1-4uaaRKyHcveKHsCzW2id9lMO/I8
="
,
"integrity"
:
"sha
512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow=
="
,
"dev"
:
true
,
"dev"
:
true
,
"requires"
:
{
"requires"
:
{
"has-flag"
:
"^3.0.0"
"has-flag"
:
"^3.0.0"
...
@@ -10880,6 +11040,19 @@
...
@@ -10880,6 +11040,19 @@
"stable"
:
"^0.1.8"
,
"stable"
:
"^0.1.8"
,
"unquote"
:
"~1.1.1"
,
"unquote"
:
"~1.1.1"
,
"util.promisify"
:
"~1.0.0"
"util.promisify"
:
"~1.0.0"
},
"dependencies"
:
{
"chalk"
:
{
"version"
:
"2.4.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz"
,
"integrity"
:
"sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^3.2.1"
,
"escape-string-regexp"
:
"^1.0.5"
,
"supports-color"
:
"^5.3.0"
}
}
}
}
},
},
"systemjs"
:
{
"systemjs"
:
{
...
@@ -11645,6 +11818,12 @@
...
@@ -11645,6 +11818,12 @@
}
}
}
}
},
},
"vite-plugin-banner"
:
{
"version"
:
"0.1.3"
,
"resolved"
:
"https://registry.npmjs.org/vite-plugin-banner/-/vite-plugin-banner-0.1.3.tgz"
,
"integrity"
:
"sha512-Kbv4KzvhffQwbp3Sr2FA51hFaiEgACGNExYK07hj0m53At2FTnPver2TfGCulDpv4G9B8/flbEOdso3JWWpIEQ=="
,
"dev"
:
true
},
"vite-plugin-importer"
:
{
"vite-plugin-importer"
:
{
"version"
:
"0.2.5"
,
"version"
:
"0.2.5"
,
"resolved"
:
"https://registry.npmjs.org/vite-plugin-importer/-/vite-plugin-importer-0.2.5.tgz"
,
"resolved"
:
"https://registry.npmjs.org/vite-plugin-importer/-/vite-plugin-importer-0.2.5.tgz"
,
...
@@ -12014,6 +12193,17 @@
...
@@ -12014,6 +12193,17 @@
"resolved"
:
"https://registry.nlark.com/acorn/download/acorn-7.4.1.tgz?cache=0&sync_timestamp=1624526847094&other_urls=https%3A%2F%2Fregistry.nlark.com%2Facorn%2Fdownload%2Facorn-7.4.1.tgz"
,
"resolved"
:
"https://registry.nlark.com/acorn/download/acorn-7.4.1.tgz?cache=0&sync_timestamp=1624526847094&other_urls=https%3A%2F%2Fregistry.nlark.com%2Facorn%2Fdownload%2Facorn-7.4.1.tgz"
,
"integrity"
:
"sha1-/q7SVZc9LndVW4PbwIhRpsY1IPo="
,
"integrity"
:
"sha1-/q7SVZc9LndVW4PbwIhRpsY1IPo="
,
"dev"
:
true
"dev"
:
true
},
"chalk"
:
{
"version"
:
"2.4.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz"
,
"integrity"
:
"sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^3.2.1"
,
"escape-string-regexp"
:
"^1.0.5"
,
"supports-color"
:
"^5.3.0"
}
}
}
}
}
},
},
...
...
web/package.json
浏览文件 @
0e5e60e2
web/src/core/config.js
浏览文件 @
0e5e60e2
...
@@ -42,6 +42,11 @@ export const viteLogo = (env) => {
...
@@ -42,6 +42,11 @@ export const viteLogo = (env) => {
`> 默认前端文件运行地址:http://127.0.0.1:
${
env
.
VITE_CLI_PORT
}
`
`> 默认前端文件运行地址:http://127.0.0.1:
${
env
.
VITE_CLI_PORT
}
`
)
)
)
)
console
.
log
(
chalk
.
green
(
`> 如果项目让您获得了收益,希望您能请团队喝杯可乐:https://www.github.com/flipped-aurora/gin-vue-admin/server.com/docs/coffee`
)
)
console
.
log
(
'
\n
'
)
console
.
log
(
'
\n
'
)
}
}
}
}
...
...
web/vite.config.js
浏览文件 @
0e5e60e2
import
legacyPlugin
from
'
@vitejs/plugin-legacy
'
;
import
legacyPlugin
from
'
@vitejs/plugin-legacy
'
// import usePluginImport from 'vite-plugin-importer';
// import usePluginImport from 'vite-plugin-importer';
import
{
viteLogo
}
from
'
./src/core/config
'
import
{
viteLogo
}
from
'
./src/core/config
'
import
Banner
from
'
vite-plugin-banner
'
import
Banner
from
'
vite-plugin-banner
'
import
*
as
path
from
'
path
'
;
import
*
as
path
from
'
path
'
import
*
as
dotenv
from
'
dotenv
'
;
import
*
as
dotenv
from
'
dotenv
'
import
*
as
fs
from
'
fs
'
;
import
*
as
fs
from
'
fs
'
import
vuePlugin
from
'
@vitejs/plugin-vue
'
;
import
vuePlugin
from
'
@vitejs/plugin-vue
'
// @see https://cn.vitejs.dev/config/
// @see https://cn.vitejs.dev/config/
export
default
({
export
default
({
command
,
command
,
mode
mode
})
=>
{
})
=>
{
le
t
NODE_ENV
=
process
.
env
.
NODE_ENV
||
'
development
'
cons
t
NODE_ENV
=
process
.
env
.
NODE_ENV
||
'
development
'
le
t
envFiles
=
[
cons
t
envFiles
=
[
`.env.
${
NODE_ENV
}
`
`.env.
${
NODE_ENV
}
`
]
]
for
(
const
file
of
envFiles
)
{
for
(
const
file
of
envFiles
)
{
...
@@ -24,24 +24,24 @@ export default ({
...
@@ -24,24 +24,24 @@ export default ({
viteLogo
(
process
.
env
)
viteLogo
(
process
.
env
)
le
t
timestamp
=
Date
.
parse
(
new
Date
())
cons
t
timestamp
=
Date
.
parse
(
new
Date
())
le
t
rollupOptions
=
{
cons
t
rollupOptions
=
{
output
:
{
output
:
{
entryFileNames
:
`gva/gin-vue-admin-[name].
${
timestamp
}
.js`
,
entryFileNames
:
`gva/gin-vue-admin-[name].
${
timestamp
}
.js`
,
chunkFileNames
:
`js/gin-vue-admin-[name].
${
timestamp
}
.js`
,
chunkFileNames
:
`js/gin-vue-admin-[name].
${
timestamp
}
.js`
,
assetFileNames
:
`assets/gin-vue-admin-[name].
${
timestamp
}
.[ext]`
assetFileNames
:
`assets/gin-vue-admin-[name].
${
timestamp
}
.[ext]`
}
}
}
;
}
let
optimizeDeps
=
{};
const
optimizeDeps
=
{}
le
t
alias
=
{
cons
t
alias
=
{
'
@
'
:
path
.
resolve
(
__dirname
,
'
./src
'
),
'
@
'
:
path
.
resolve
(
__dirname
,
'
./src
'
),
'
vue$
'
:
'
vue/dist/vue.runtime.esm-bundler.js
'
,
'
vue$
'
:
'
vue/dist/vue.runtime.esm-bundler.js
'
,
}
}
le
t
esbuild
=
{}
cons
t
esbuild
=
{}
return
{
return
{
base
:
'
./
'
,
// index.html文件所在位置
base
:
'
./
'
,
// index.html文件所在位置
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录