Skip to content

Commit

Permalink
Use the platform-dependent path separator to fix QwikDev#108
Browse files Browse the repository at this point in the history
  • Loading branch information
igrep committed Dec 31, 2021
1 parent f8394c6 commit 2e97267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/optimizer/src/rollup/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function qwikRollup(opts: QwikPluginOptions = {}): any {
result = await optimizer.transformFs(transformOpts);
result.modules.forEach((output) => {
const path = output.path.split('.').slice(0, -1).join('.');
const key = transformOpts.rootDir + '/' + path;
const key = transformOpts.rootDir + optimizer.path.sep + path;
transformedOutputs.set(key, output);
});

Expand Down

0 comments on commit 2e97267

Please sign in to comment.