Skip to content

Commit

Permalink
fix(webpack-plugin): failure on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
LastLeaf committed Oct 18, 2024
1 parent 1caccb1 commit b599530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glass-easel-miniprogram-webpack-plugin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ export class GlassEaselMiniprogramWebpackPlugin implements WebpackPluginInstance
for (const m of modules) {
if (m.type !== 'javascript/auto') continue
const module = m as NormalModule
if (module.resource === `${codeRoot}/index.js`) {
if (module.resource === path.join(codeRoot, 'index.js')) {
indexModule = module
continue
}
Expand Down

0 comments on commit b599530

Please sign in to comment.