Skip to content

Commit aa35d0e

Browse files
committed
build: update CSS build scripts
1 parent 86869f0 commit aa35d0e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
"scripts": {
1818
"start": "npm-run-all --parallel watch docs-serve",
1919
"bundlewatch": "bundlewatch --config .bundlewatch.config.json",
20-
"css": "npm-run-all css-compile css-prefix css-rtl css-minify",
20+
"css": "npm-run-all css-compile css-prefix css-minify",
2121
"css-compile": "sass --style expanded --source-map --embed-sources --no-error-css scss/:dist/css/",
22-
"css-rtl": "cross-env NODE_ENV=RTL postcss --config build/postcss.config.js --dir \"dist/css\" --ext \".rtl.css\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*.rtl.css\"",
2322
"css-lint": "npm-run-all --continue-on-error --parallel css-lint-*",
2423
"css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache --rd",
2524
"css-lint-vars": "fusv scss/ docs/assets/scss/",
@@ -66,7 +65,6 @@
6665
"netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all dist release-sri docs-build",
6766
"watch": "npm-run-all --parallel watch-*",
6867
"watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix\"",
69-
"watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
7068
"watch-css-docs": "nodemon --watch docs/assets/scss/ --ext scss --exec \"npm run css-lint\"",
7169
"watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\"",
7270
"watch-js-docs": "nodemon --watch docs/assets/js/ --ext js --exec \"npm run js-lint\""
@@ -83,7 +81,6 @@
8381
"url": "https://github.com/coreui/coreui/issues"
8482
},
8583
"license": "MIT",
86-
"dependencies": {},
8784
"peerDependencies": {
8885
"@popperjs/core": "^2.9.0"
8986
},
@@ -125,6 +122,7 @@
125122
"npm-run-all": "^4.1.5",
126123
"postcss": "^8.2.6",
127124
"postcss-cli": "^8.3.1",
125+
"postcss-combine-duplicated-selectors": "^10.0.2",
128126
"rollup": "^2.40.0",
129127
"rollup-plugin-istanbul": "^3.0.0",
130128
"rtlcss": "^3.1.2",

0 commit comments

Comments
 (0)