Skip to content

Commit

Permalink
Fix: CSS files don't build in dev mode on Windows (#42041)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Jul 27, 2022
1 parent 06c45a0 commit 8d36703
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/packages/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ function createStyleEntryTransform() {

packages.add( packageName );
const entries = await glob(
path.resolve( PACKAGES_DIR, packageName, 'src/*.scss' )
path
.resolve( PACKAGES_DIR, packageName, 'src/*.scss' )
.replace( /\\/g, '/' )
);

// Account for the specific case where block styles in
Expand Down

0 comments on commit 8d36703

Please sign in to comment.