Skip to content

Commit

Permalink
chore: bump 12_css example
Browse files Browse the repository at this point in the history
  • Loading branch information
himself65 committed Mar 13, 2024
1 parent d40982b commit 29aa28a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion examples/12_css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"devDependencies": {
"@types/react": "18.2.65",
"@types/react-dom": "18.2.21",
"@vanilla-extract/vite-plugin": "3.9.5",
"@vanilla-extract/vite-plugin": "4.0.6",
"typescript": "5.4.2",
"vite": "5.1.6",
"vite-plugin-stylex-dev": "0.3.0"
Expand Down
1 change: 0 additions & 1 deletion examples/12_css/src/components/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import classNames from 'classnames';
// @ts-expect-error no types
import styles from './App.module.css';
import './App.css';
import { container } from './styles.css.js';
Expand Down
4 changes: 4 additions & 0 deletions examples/12_css/src/type.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module '*.module.css' {
const classes: { readonly [key: string]: string };
export default classes;
}
2 changes: 1 addition & 1 deletion examples/12_css/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { stylexPlugin } from 'vite-plugin-stylex-dev';

/** @type {import('vite').UserConfig} */
export default {
plugins: [vanillaExtractPlugin({ emitCssInSsr: true }), stylexPlugin()],
plugins: [vanillaExtractPlugin(), stylexPlugin()],
};
18 changes: 7 additions & 11 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 29aa28a

Please sign in to comment.