Monday, 17 April 2017

How to use correct path separators on webpack? if i use windows

According to webpacks docs

webpack expects absolute paths for many config options. __dirname + "/app/folder" is wrong, because windows uses \ as path separator. This breaks some stuff.

i worry this regex wont works on windows

/\.jsx$/



via Bob sux

No comments:

Post a Comment