lazy-compile-webpack-plugin icon indicating copy to clipboard operation
lazy-compile-webpack-plugin copied to clipboard

fix: apipath fix on windows platform

Open zhazhaxia opened this issue 5 years ago • 6 comments

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!

zhazhaxia avatar Feb 23 '20 16:02 zhazhaxia

image

liximomo avatar Feb 27 '20 05:02 liximomo

I have the same problem. Is this repo still maintained? Or we should fork?

lmiller1990 avatar Apr 07 '21 23:04 lmiller1990

How is it going now?

Clarkkkk avatar Jul 01 '21 01:07 Clarkkkk

It is not going.

I think Webpack 5 has this out of the box anyway, doesn't it?

lmiller1990 avatar Jul 05 '21 10:07 lmiller1990

I had fixed it,by this pr after fork the project.

zhazhaxia avatar Jul 05 '21 11:07 zhazhaxia

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.

Clarkkkk avatar Jul 05 '21 16:07 Clarkkkk