File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
playground/src/composables Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { evaluateUserConfig } from '#docs'
66import { unocssBundle } from '#docs/unocss-bundle'
77import reset from '@unocss/reset/tailwind.css?raw'
88import MagicString from 'magic-string'
9- import { createGenerator } from 'unocss'
9+ import { createGenerator , noop } from 'unocss'
1010
1111export const init = ref ( false )
1212export const customConfigError = ref < Error > ( )
@@ -122,7 +122,7 @@ function useTransformer() {
122122 return [ ]
123123
124124 const annotations = [ ]
125- const fakePluginContext = { uno } as UnocssPluginContext
125+ const fakePluginContext = { uno, invalidate : noop } as UnocssPluginContext
126126 for ( const { idFilter, transform } of transformers ) {
127127 if ( idFilter && ! idFilter ( id ) )
128128 continue
You can’t perform that action at this time.
0 commit comments