File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import type { Builder } from "fresh/dev" ;
2- import twPostcss from "@tailwindcss/postcss" ;
2+ import { postcss as twPostcss } from "@tailwindcss/postcss" ;
33import postcss from "postcss" ;
44import type { TailwindPluginOptions } from "./types.ts" ;
55
Original file line number Diff line number Diff line change 66} from "./utils.ts" ;
77import { deno } from "./plugins/deno.ts" ;
88
9- import prefresh from "@prefresh/vite" ;
9+ import { prefresh } from "@prefresh/vite" ;
1010import { serverEntryPlugin } from "./plugins/server_entry.ts" ;
1111import { clientEntryPlugin } from "./plugins/client_entry.ts" ;
1212import { devServer } from "./plugins/dev_server.ts" ;
@@ -258,7 +258,7 @@ export function fresh(config?: FreshViteConfig): Plugin[] {
258258 ...devServer ( fConfig ) ,
259259 prefresh ( {
260260 include : [ / \. [ c m ] ? [ t j ] s x ? $ / ] ,
261- exclude : [ / n o d e _ m o d u l e s / , / [ \\ / ] + d e n o [ \\ / ] + n p m [ \\ / ] + / ] ,
261+ exclude : [ / n o d e _ m o d u l e s / , / [ \\ \ /] + d e n o [ \\ \ /] + n p m [ \ \\/ ] + / ] ,
262262 parserPlugins : [
263263 "importMeta" ,
264264 "explicitResourceManagement" ,
You can’t perform that action at this time.
0 commit comments