Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄庭坚
jinfa-platform
Commits
b22d19ca
Commit
b22d19ca
authored
Dec 07, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 注释prod环境的配置
parent
e970c1c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
config.prod.ts
config/config.prod.ts
+11
-11
No files found.
config/config.prod.ts
View file @
b22d19ca
...
@@ -5,11 +5,11 @@ import LodashModuleReplacementPlugin from 'lodash-webpack-plugin'
...
@@ -5,11 +5,11 @@ import LodashModuleReplacementPlugin from 'lodash-webpack-plugin'
export
default
defineConfig
({
export
default
defineConfig
({
externals
:
{
externals
:
{
"react"
:
'React'
,
//
"react": 'React',
"react-dom"
:
'ReactDOM'
,
//
"react-dom": 'ReactDOM',
"@antv/g2"
:
'G2'
,
//
"@antv/g2": 'G2',
"@antv/data-set"
:
'DataSet'
,
//
"@antv/data-set": 'DataSet',
bizcharts
:
'BizCharts'
,
//
bizcharts: 'BizCharts',
// "lingxi-design-ui": 'LingXiUI',
// "lingxi-design-ui": 'LingXiUI',
// "@formily/antd-components": 'FormilyComponent',
// "@formily/antd-components": 'FormilyComponent',
// "@lingxi-design/ui": 'LingxiDesignUI',
// "@lingxi-design/ui": 'LingxiDesignUI',
...
@@ -17,11 +17,11 @@ export default defineConfig({
...
@@ -17,11 +17,11 @@ export default defineConfig({
// ...ExternalsAntd
// ...ExternalsAntd
},
},
scripts
:
[
scripts
:
[
'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/react.production.min.js'
,
//
'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/react.production.min.js',
'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/react-dom.production.min.js'
,
//
'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/react-dom.production.min.js',
'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/g2.min.js'
,
//
'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/g2.min.js',
'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/data-set.js'
,
//
'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/data-set.js',
'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/BizCharts.min.js'
,
//
'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/BizCharts.min.js',
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/LingXiUI.min.js',
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/LingXiUI.min.js',
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/antd.min.js',
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/antd.min.js',
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/formily-component.min.js',
// 'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/formily-component.min.js',
...
@@ -29,7 +29,7 @@ export default defineConfig({
...
@@ -29,7 +29,7 @@ export default defineConfig({
],
],
chainWebpack
(
config
)
{
chainWebpack
(
config
)
{
// config.plugin('antd-dayjs-webpack-plugin').use(AntdDayjsWebpackPlugin)
// config.plugin('antd-dayjs-webpack-plugin').use(AntdDayjsWebpackPlugin)
config
.
plugin
(
'lodash-webpack-plugin'
).
use
(
LodashModuleReplacementPlugin
)
//
config.plugin('lodash-webpack-plugin').use(LodashModuleReplacementPlugin)
// config.merge({
// config.merge({
// optimization: {
// optimization: {
// minimize: true,
// minimize: true,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment