Skip to content

Commit

Permalink
chore(dev): Run prettier on pictograms after generation
Browse files Browse the repository at this point in the history
  • Loading branch information
HHogg committed Oct 5, 2024
1 parent f6c8dde commit 739ecfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions workspaces/package/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ import dts from 'vite-plugin-dts';

// https://vitejs.dev/config/
export default defineConfig(() => ({
plugins: [
react(),
dts(),
],
plugins: [react(), dts()],
build: {
sourcemap: true,
lib: {
Expand Down
2 changes: 1 addition & 1 deletion workspaces/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "yarn run build:client && yarn run build:server && yarn run ssg",
"build:client": "vite build --outDir dist/client",
"build:svgs": "yarn build:svgs:pictograms",
"build:svgs:pictograms": "yarn svgr -d ./src/docs/catalog/pictograms ./src/assets/pictogram-svgs --ext tsx --config-file .svgrrc.pictograms.cjs",
"build:svgs:pictograms": "yarn svgr -d ./src/docs/catalog/pictograms ./src/assets/pictogram-svgs --ext tsx --config-file .svgrrc.pictograms.cjs && prettier --write ./src/docs/catalog/pictograms/*.tsx",
"build:server": "vite build --ssr src/entry-server.tsx --outDir dist/server",
"serve": "superstatic dist/client --port 8080 --host 127.0.0.1",
"ssg": "node prerender"
Expand Down

0 comments on commit 739ecfc

Please sign in to comment.