diff --git a/ace-loader/src/resource-plugin.js b/ace-loader/src/resource-plugin.js index d8a473c..013339b 100644 --- a/ace-loader/src/resource-plugin.js +++ b/ace-loader/src/resource-plugin.js @@ -317,7 +317,7 @@ function loadWorker(entryObj) { } const relativePath = path.relative(process.env.projectPath, worker); if (filterWorker(relativePath)) { - entryObj[relativePath.replace(/\.(ts|js)$/,'')] = worker; + entryObj[relativePath.replace(/\.(ts|js)$/,'').replace(/\\/g, '/')] = worker; } }) } else {