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 @@ -238,7 +238,7 @@ function tailwindcss(opts: PluginOptions = {}): AcceptedPlugin {
238
238
// Register dependencies so changes in `base` cause a rebuild while
239
239
// giving tools like Vite or Parcel a glob that can be used to limit
240
240
// the files that cause a rebuild to only those that match it.
241
- for ( let { base : globBase , pattern } of context . scanner . globs ) {
241
+ for ( let { base : globBase , pattern } of context . scanner . normalizedSources ) {
242
242
// Avoid adding a dependency on the base directory itself, since it
243
243
// causes Next.js to start an endless recursion if the `distDir` is
244
244
// configured to anything other than the default `.next` dir.
Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ class Root {
273
273
}
274
274
275
275
// Watch globs found via custom `@source` paths
276
- for ( let glob of this . scanner . globs ) {
276
+ for ( let glob of this . scanner . normalizedSources ) {
277
277
if ( glob . pattern [ 0 ] === '!' ) continue
278
278
279
279
let relative = path . relative ( this . base , glob . base )
You can’t perform that action at this time.
0 commit comments