Browse Source

无JIRA 自定义less变量支持

research/test
dailer 1 year ago
parent
commit
e65cdf7d77
  1. 3
      packages/fineui/package.json
  2. 3
      packages/fineui/webpack/attachments.js

3
packages/fineui/package.json

@ -23,6 +23,7 @@
"dev:fineui": "webpack-dev-server --progress --config=webpack/webpack.dev.js", "dev:fineui": "webpack-dev-server --progress --config=webpack/webpack.dev.js",
"build": "tsc && run-p build:*", "build": "tsc && run-p build:*",
"build:es": "babel src -d dist/lib --config-file ./esm.babel.js", "build:es": "babel src -d dist/lib --config-file ./esm.babel.js",
"webpack:css": "webpack --progress --config=webpack/webpack.css.js --mode production",
"build:fineui": "webpack --progress --config=webpack/webpack.prod.js", "build:fineui": "webpack --progress --config=webpack/webpack.prod.js",
"prepublishToPrivate": "npm run build && node ./lib/prepublish.js", "prepublishToPrivate": "npm run build && node ./lib/prepublish.js",
"publishToPrivate": "npm publish", "publishToPrivate": "npm publish",
@ -57,4 +58,4 @@
"core-js": "^3.30.2", "core-js": "^3.30.2",
"cross-env": "^7.0.3" "cross-env": "^7.0.3"
} }
} }

3
packages/fineui/webpack/attachments.js

@ -42,5 +42,6 @@ const fineuiForWorker = [].concat(
module.exports = { module.exports = {
fineui: uniq(fineui), fineui: uniq(fineui),
fineuiForWorker: uniq(fineuiForWorker) fineuiForWorker: uniq(fineuiForWorker),
bundleCss,
}; };

Loading…
Cancel
Save