File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
34
34
35
35
- Fix defining colors as functions when color opacity plugins are disabled ([ #5470 ] ( https://github.com/tailwindlabs/tailwindcss/pull/5470 ) )
36
36
- Fix using negated ` content ` globs ([ #5625 ] ( https://github.com/tailwindlabs/tailwindcss/pull/5625 ) )
37
+ - Fix using backslashes in ` content ` globs ([ #5628 ] ( https://github.com/tailwindlabs/tailwindcss/pull/5628 ) )
37
38
38
39
## [ 2.2.16] - 2021-09-26
39
40
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import fastGlob from 'fast-glob'
15
15
import getModuleDependencies from './lib/getModuleDependencies'
16
16
import log from './util/log'
17
17
import packageJson from '../package.json'
18
+ import normalizePath from 'normalize-path'
18
19
19
20
let env = {
20
21
DEBUG : process . env . DEBUG !== undefined ,
@@ -437,12 +438,14 @@ async function build() {
437
438
}
438
439
439
440
function extractFileGlobs ( config ) {
440
- return extractContent ( config ) . filter ( ( file ) => {
441
- // Strings in this case are files / globs. If it is something else,
442
- // like an object it's probably a raw content object. But this object
443
- // is not watchable, so let's remove it.
444
- return typeof file === 'string'
445
- } )
441
+ return extractContent ( config )
442
+ . filter ( ( file ) => {
443
+ // Strings in this case are files / globs. If it is something else,
444
+ // like an object it's probably a raw content object. But this object
445
+ // is not watchable, so let's remove it.
446
+ return typeof file === 'string'
447
+ } )
448
+ . map ( ( glob ) => normalizePath ( glob ) )
446
449
}
447
450
448
451
function extractRawContent ( config ) {
You can’t perform that action at this time.
0 commit comments