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, };