Skip to content

Commit b013bf5

Browse files
committed
proper build in paralell
1 parent 91882e7 commit b013bf5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/css/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
],
4646
"scripts": {
4747
"build": "rimraf dist && pnpm build:theme && postcss ./src/*.css --base . --dir ./dist && postcss ./dist/theme/*.css --dir ./dist/theme",
48-
"build:theme": "pnpm exec designsystemet tokens build -t ../../design-tokens -o ./dist/theme --experimental-tailwind"
48+
"build:theme": "tsx ../cli/bin/designsystemet.ts tokens build -t ../../design-tokens -o ./dist/theme --experimental-tailwind"
4949
},
5050
"devDependencies": {
5151
"autoprefixer": "^10.4.22",
@@ -55,6 +55,6 @@
5555
"postcss-import": "^16.1.1",
5656
"postcss-nesting": "^13.0.2",
5757
"rimraf": "^6.1.2",
58-
"@digdir/designsystemet": "workspace:^"
58+
"tsx": "^4.20.2"
5959
}
6060
}

pnpm-lock.yaml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)