Skip to content

Commit

Permalink
chore: remove patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Oct 30, 2023
1 parent 36efe04 commit 4331a5a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 69 deletions.
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,5 @@
"simple-git-hooks": {
"pre-commit": "pnpm format && pnpm lint"
},
"packageManager": "[email protected]",
"pnpm": {
"patchedDependencies": {
"@vanilla-extract/[email protected]": "patches/@[email protected]"
}
}
"packageManager": "[email protected]"
}
51 changes: 0 additions & 51 deletions patches/@[email protected]

This file was deleted.

12 changes: 3 additions & 9 deletions pnpm-lock.yaml

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

5 changes: 2 additions & 3 deletions src/vite/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin'
import react from '@vitejs/plugin-react'
import { defineConfig, splitVendorChunkPlugin } from 'vite'

import { kebabcase } from '../utils/kebabcase.js'
import { css } from './plugins/css.js'
import { mdx } from './plugins/mdx.js'
import { root } from './plugins/root.js'
Expand All @@ -17,8 +16,8 @@ export default defineConfig({
react(),
vanillaExtractPlugin({
identifiers({ filePath, debugId }) {
const scope = kebabcase(basename(filePath).replace('.css.ts', ''))
return `vocs-${scope}${debugId ? `_${debugId}` : ''}`
const scope = basename(filePath).replace('.css.ts', '')
return `vocs_${scope}${debugId ? `_${debugId}` : ''}`
},
emitCssInSsr: true,
}),
Expand Down

0 comments on commit 4331a5a

Please sign in to comment.