Browse Source

Pull request #3497: KERNEL-14316 fix:打包调整

Merge in VISUAL/fineui from ~TREECAT/fineui:es6 to es6

* commit 'ae6fdde7d428d720194a43bf039e6f9337d99926': (26 commits)
  KERNEL-14316 fix:打包调整
  KERNEL-14316 feat: es6 合 master
  auto upgrade version to 2.0.20230314171452
  auto upgrade version to 2.0.20230314161821
  auto upgrade version to 2.0.20230314150956
  BI-123240 fix: 【6.0.7crm主题模型】主题模型升级后明细过滤复制字段太多前端卡顿
  BI-123240 fix: 【6.0.7crm主题模型】主题模型升级后明细过滤复制字段太多前端卡顿
  无jira任务 fix:单选按钮设置once后不触发事件但是依然可以取消选中
  auto upgrade version to 2.0.20230310171548
  无JIRA任务 es6写法
  JSY-27224 性能
  auto upgrade version to 2.0.20230309140610
  REPORT-90850 fix:修改属性名,防止与父组件高度冲突
  auto upgrade version to 2.0.20230303154526
  BI-122401 refactor(trigger.text): 使支持指定 title
  auto upgrade version to 2.0.20230302140341
  无JIRA任务 es6写法
  JSY-27224 性能
  auto upgrade version to 2.0.20230302104808
  BI-119323 style: 图标更新
  ...
es6
treecat-罗群 2 years ago
parent
commit
2dfd44879f
  1. 7
      packages/fineui/package.json
  2. 3
      packages/fineui/webpack/webpack.common.js

7
packages/fineui/package.json

@ -1,6 +1,6 @@
{ {
"name": "@fui/core", "name": "@fui/core",
"version": "2.0.20230208163847", "version": "3.0.20230421163847",
"description": "fineui", "description": "fineui",
"main": "dist/fineui.min.js", "main": "dist/fineui.min.js",
"module": "dist/es/index.js", "module": "dist/es/index.js",
@ -24,10 +24,7 @@
"dev": "tsc && babel src -d dist/es --config-file ./esm.babel.js -w", "dev": "tsc && babel src -d dist/es --config-file ./esm.babel.js -w",
"build": "tsc && run-p build:*", "build": "tsc && run-p build:*",
"build:es": "babel src -d dist/es --config-file ./esm.babel.js", "build:es": "babel src -d dist/es --config-file ./esm.babel.js",
"build:fineui": "webpack --progress --config=webpack/webpack.prod.js", "build:fineui": "webpack --progress --config=webpack/webpack.prod.js"
"webpack:css": "webpack --config=webpack/webpack.css.js --mode production",
"build:biCss": "cross-env LESS_CONFIG_PATH=lessconfig/bi.lessconfig.json LESS_FILE_NAME=bi npm run webpack:css",
"build:jsyCss": "cross-env LESS_CONFIG_PATH=lessconfig/jsy.lessconfig.json LESS_FILE_NAME=jsy npm run webpack:css"
}, },
"files": [ "files": [
"dist" "dist"

3
packages/fineui/webpack/webpack.common.js

@ -9,8 +9,7 @@ let lessVariables = {};
if (process.env.LESS_CONFIG_PATH) { if (process.env.LESS_CONFIG_PATH) {
const lessConfigPath = path.isAbsolute(process.env.LESS_CONFIG_PATH) const lessConfigPath = path.isAbsolute(process.env.LESS_CONFIG_PATH)
? process.env.LESS_CONFIG_PATH ? process.env.LESS_CONFIG_PATH
: path.resolve(__dirname, "lessconfig", process.env.LESS_CONFIG_PATH); : path.resolve(__dirname, "../lessconfig", process.env.LESS_CONFIG_PATH);
lessVariables = fs.existsSync(lessConfigPath) ? require(lessConfigPath) || {} : {}; lessVariables = fs.existsSync(lessConfigPath) ? require(lessConfigPath) || {} : {};
} }

Loading…
Cancel
Save