File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ function tailwindcss(opts: PluginOptions = {}): AcceptedPlugin {
222222 // Register dependencies so changes in `base` cause a rebuild while
223223 // giving tools like Vite or Parcel a glob that can be used to limit
224224 // the files that cause a rebuild to only those that match it.
225- for ( let { base : globBase , pattern } of context . scanner . globs ) {
225+ for ( let { base : globBase , pattern } of context . scanner . normalizedSources ) {
226226 // Avoid adding a dependency on the base directory itself, since it
227227 // causes Next.js to start an endless recursion if the `distDir` is
228228 // configured to anything other than the default `.next` dir.
Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ class Root {
306306 }
307307
308308 // Watch globs found via custom `@source` paths
309- for ( let glob of this . scanner . globs ) {
309+ for ( let glob of this . scanner . normalizedSources ) {
310310 if ( glob . pattern [ 0 ] === '!' ) continue
311311
312312 let relative = path . relative ( this . base , glob . base )
You can’t perform that action at this time.
0 commit comments