diff --git a/packages/components/package.json b/packages/components/package.json index ded494e26f..9c1f34d429 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -18,9 +18,10 @@ "node": ">=10" }, "scripts": { - "build": "cross-env NODE_ENV=production run-p build:*", + "build": "cross-env NODE_ENV=production run-s build:*", "build:babel": "babel ./src --out-dir ./dist --extensions \".ts,.tsx,.js,.jsx\" --source-maps --root-mode upward", - "build:sass": "sass --embed-sources --load-path=../../node_modules ./src:./dist ./scss/BaseStyleSheet.scss:./css/BaseStyleSheet.css" + "build:sass": "sass --embed-sources --load-path=../../node_modules ./src:./dist ./scss/BaseStyleSheet.scss:./css/BaseStyleSheet.css", + "build:theme": "sass --embed-sources --style=compressed --load-path=../../node_modules ./src/theme:./dist/theme" }, "dependencies": { "@adobe/react-spectrum": "^3.29.0",