Skip to content

Commit

Permalink
Merge pull request #13 from MrSquaare/update-external-deps
Browse files Browse the repository at this point in the history
build: update external deps
  • Loading branch information
MrSquaare authored Dec 18, 2024
2 parents 54304c2 + 7ac2ff0 commit 5c13b18
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .changeset/poor-mugs-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@sandwich-ui/react": patch
"@sandwich-ui/core": patch
---

Update external deps
3 changes: 3 additions & 0 deletions packages/core/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ dist-ssr
## Panda
src/styled-system
src/styled-system-studio

# rollup-plugin-vizualizer
stats.html
1 change: 1 addition & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"eslint-plugin-import-x": "^4.5.1",
"eslint-plugin-prettier": "^5.2.1",
"rimraf": "^6.0.1",
"rollup-plugin-visualizer": "^5.12.0",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.1",
"vite": "^5.4.11",
Expand Down
4 changes: 3 additions & 1 deletion packages/core/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { visualizer } from "rollup-plugin-visualizer";
import { defineConfig } from "vite";
import dts from "vite-plugin-dts";
import tsconfigPaths from "vite-tsconfig-paths";
Expand All @@ -14,13 +15,14 @@ export default defineConfig({
formats: ["cjs", "es"],
},
rollupOptions: {
external: ["@pandacss/dev"],
external: [/^@pandacss.*/, /^@sandwich-ui.*/],
},
},
plugins: [
dts({
copyDtsFiles: true,
}),
tsconfigPaths(),
visualizer(),
],
});
3 changes: 3 additions & 0 deletions packages/react/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ dist-ssr
*.njsproj
*.sln
*.sw?

# rollup-plugin-vizualizer
stats.html
1 change: 1 addition & 0 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"eslint-plugin-react-refresh": "^0.4.16",
"globals": "^15.14.0",
"rimraf": "^6.0.1",
"rollup-plugin-visualizer": "^5.12.0",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.1",
"vite": "^5.4.11",
Expand Down
9 changes: 6 additions & 3 deletions packages/react/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import react from "@vitejs/plugin-react";
import { visualizer } from "rollup-plugin-visualizer";
import { defineConfig } from "vite";
import dts from "vite-plugin-dts";

Expand All @@ -17,9 +18,10 @@ export default defineConfig({
"react",
"react-dom",
"react/jsx-runtime",
"@ark-ui/react",
"@pandacss/dev",
/^@sandwich-ui\/core\/.*/,
/^@ark-ui.*/,
/^@zag-js.*/,
/^@pandacss.*/,
/^@sandwich-ui.*/,
],
},
},
Expand All @@ -28,5 +30,6 @@ export default defineConfig({
dts({
copyDtsFiles: true,
}),
visualizer(),
],
});
25 changes: 25 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5c13b18

Please sign in to comment.