diff --git a/packages/fineui/package.json b/packages/fineui/package.json index 4892a02ea..ff7314dd6 100644 --- a/packages/fineui/package.json +++ b/packages/fineui/package.json @@ -1,6 +1,6 @@ { "name": "@fui/core", - "version": "2.0.20230208163847", + "version": "3.0.20230421163847", "description": "fineui", "main": "dist/fineui.min.js", "module": "dist/es/index.js", @@ -24,10 +24,7 @@ "dev": "tsc && babel src -d dist/es --config-file ./esm.babel.js -w", "build": "tsc && run-p build:*", "build:es": "babel src -d dist/es --config-file ./esm.babel.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" + "build:fineui": "webpack --progress --config=webpack/webpack.prod.js" }, "files": [ "dist" diff --git a/packages/fineui/webpack/webpack.common.js b/packages/fineui/webpack/webpack.common.js index 1c0d242f8..c6efd9d46 100644 --- a/packages/fineui/webpack/webpack.common.js +++ b/packages/fineui/webpack/webpack.common.js @@ -9,8 +9,7 @@ let lessVariables = {}; if (process.env.LESS_CONFIG_PATH) { const lessConfigPath = path.isAbsolute(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) || {} : {}; }