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
shenshaokai
jinfa-platform
Commits
5d716dc4
Commit
5d716dc4
authored
Nov 29, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2' of
http://10.0.0.22:3000/lingxi/lingxi-business-paltform
into v2
parents
af865ff5
77ee8364
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
config.local.ts
config/config.local.ts
+23
-23
No files found.
config/config.local.ts
View file @
5d716dc4
...
...
@@ -5,29 +5,29 @@ import AntdDayjsWebpackPlugin from 'antd-dayjs-webpack-plugin'
export
default
defineConfig
({
devtool
:
false
,
externals
:
{
"react"
:
'React'
,
"react-dom"
:
'ReactDOM'
,
"@antv/g2"
:
'G2'
,
"@antv/data-set"
:
'DataSet'
,
bizcharts
:
'BizCharts'
,
"lingxi-design-ui"
:
'LingXiUI'
,
// "@formily/antd-components": 'FormilyComponent',
"@lingxi-design/ui"
:
'LingxiDesignUI'
,
// 对antd的组件做一个远程映射
...
ExternalsAntd
},
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-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/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/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/formily-component.min.js',
'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/lingxi-design-ui.min.js'
,
],
//
externals: {
//
"react": 'React',
//
"react-dom": 'ReactDOM',
//
"@antv/g2": 'G2',
//
"@antv/data-set": 'DataSet',
//
bizcharts: 'BizCharts',
//
"lingxi-design-ui": 'LingXiUI',
//
// "@formily/antd-components": 'FormilyComponent',
//
"@lingxi-design/ui": 'LingxiDesignUI',
//
// 对antd的组件做一个远程映射
//
...ExternalsAntd
//
},
//
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-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/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/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/formily-component.min.js',
//
'http://lingxi-frontend-prod.oss-cn-hangzhou.aliyuncs.com/static/js/lingxi-design-ui.min.js',
//
],
chainWebpack
(
config
)
{
config
.
plugin
(
'antd-dayjs-webpack-plugin'
).
use
(
AntdDayjsWebpackPlugin
)
// config.plugin('lodash-webpack-plugin').use(LodashModuleReplacementPlugin)
...
...
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