lazy-compile-webpack-plugin
lazy-compile-webpack-plugin copied to clipboard
fix: apipath fix on windows platform
A Windows path problem.
#L3
It should be apiPath.replace(/\\/ig,'\\\\').Otherwise,the program will transform E:\code\app.js into E:codeapp.js at line 11 because of the template code.
Just make a judgement it'll runs ok!

I have the same problem. Is this repo still maintained? Or we should fork?
How is it going now?
It is not going.
I think Webpack 5 has this out of the box anyway, doesn't it?
I had fixed it,by this pr after fork the project.
I had fixed it,by this pr after fork the project.
@liximomo Can you merge this pr and release a new version? My project is not going to migrate to webpack 5 in the near future.