Skip to content

Commit

Permalink
fix: fix Glob error when lauching npm install on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ftoromanoff committed Sep 12, 2023
1 parent 363f137 commit e56bf65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/replace.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const patchBatchID = /JOINTS_0: +'skinIndex',/g;
const patchGLTFLoader = 'JOINTS_0: \'skinIndex\',\n\t\t_BATCHID: \'_BATCHID\',';

replace({
files: fileGLTFLoader,
files: fileGLTFLoader.replaceAll('\\','/'),
from: patchBatchID,
to: patchGLTFLoader,
}).then((t) => {
Expand Down

0 comments on commit e56bf65

Please sign in to comment.