From e65cdf7d779a4ee5924171d6913416f46ca972b0 Mon Sep 17 00:00:00 2001 From: dailer Date: Fri, 14 Jul 2023 11:17:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=20=E8=87=AA=E5=AE=9A=E4=B9=89less?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/package.json | 3 ++- packages/fineui/webpack/attachments.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/fineui/package.json b/packages/fineui/package.json index a03894e62..d593e91b1 100644 --- a/packages/fineui/package.json +++ b/packages/fineui/package.json @@ -23,6 +23,7 @@ "dev:fineui": "webpack-dev-server --progress --config=webpack/webpack.dev.js", "build": "tsc && run-p build:*", "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", "prepublishToPrivate": "npm run build && node ./lib/prepublish.js", "publishToPrivate": "npm publish", @@ -57,4 +58,4 @@ "core-js": "^3.30.2", "cross-env": "^7.0.3" } -} \ No newline at end of file +} diff --git a/packages/fineui/webpack/attachments.js b/packages/fineui/webpack/attachments.js index 7e6549d83..be1d89017 100644 --- a/packages/fineui/webpack/attachments.js +++ b/packages/fineui/webpack/attachments.js @@ -42,5 +42,6 @@ const fineuiForWorker = [].concat( module.exports = { fineui: uniq(fineui), - fineuiForWorker: uniq(fineuiForWorker) + fineuiForWorker: uniq(fineuiForWorker), + bundleCss, };