File tree Expand file tree Collapse file tree 3 files changed +19
-2
lines changed
test-helpers/src/startFixture Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @vanilla-extract/vite-plugin ' : patch
3+ ---
4+
5+ Change vite-plugin to be a named export
6+
7+ BREAKING CHANGE
8+
9+ ``` diff
10+ - import vanillaExtractPlugin from '@vanilla-extract/vite-plugin';
11+ + import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin';
12+
13+ // vite.config.js
14+ export default {
15+ plugins: [vanillaExtractPlugin()]
16+ }
17+ ```
Original file line number Diff line number Diff line change 88 hash ,
99} from '@vanilla-extract/integration' ;
1010
11- export default function vanillaExtractPlugin ( ) : Plugin {
11+ export function vanillaExtractPlugin ( ) : Plugin {
1212 let config : ResolvedConfig ;
1313 const cssMap = new Map < string , string > ( ) ;
1414
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import http from 'http';
33
44import { createServer , build , InlineConfig } from 'vite' ;
55import handler from 'serve-handler' ;
6- import vanillaExtractPlugin from '@vanilla-extract/vite-plugin' ;
6+ import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin' ;
77
88import { TestServer } from './types' ;
99
You can’t perform that action at this time.
0 commit comments