Skip to content

Commit

Permalink
fix: comile straight to dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
awesthouse committed Mar 15, 2024
1 parent 9668333 commit fa3616f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions packages/dm-core-plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@
"types": "dist/index.d.ts",
"scripts": {
"prebuild": "shx rm -rf dist",
"copy-css-file": "cp ./src/build.css ./dist/main.css",
"build:css": "npx tailwindcss -i ./src/styles/main.css -o ./src/build.css --minify",
"build": "tsc && yarn build:css && yarn copy-css-file",
"build:css": "npx tailwindcss -i ./src/styles/main.css -o ./dist/main.css --minify",
"build": "tsc && yarn build:css",
"test": "jest test",
"test-watch": "jest test --watchAll"
}
Expand Down
5 changes: 2 additions & 3 deletions packages/dm-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,8 @@
"types": "dist/index.d.ts",
"scripts": {
"prebuild": "shx rm -rf dist",
"build:css": "npx tailwindcss -i ./src/styles/base.css -o ./src/build.css --minify",
"copy-css-file": "cp ./src/build.css ./dist/main.css",
"build": "tsc && yarn build:css && yarn copy-css-file",
"build:css": "npx tailwindcss -i ./src/styles/base.css -o ./dist/main.css --minify",
"build": "tsc && yarn build:css",
"test": "jest test"
}
}

0 comments on commit fa3616f

Please sign in to comment.