import-cache-query
v0.0.4
Published
- import file without cache
Downloads
3
Readme
import-cache-query
- import file without cache
// plugin.mjs
import { ImportQueryHook } from './hook.mjs'
export const resolve = ImportQueryHook({
filter: 'postcss.config'
})
// vite.config.ts
import { register } from 'node:module'
register('./plugin.mjs', import.meta.url)