fshost / node-dir

Recursive asynchronous file and directory operations for Node.js
MIT License
221 stars 44 forks source link

uncaught SyntaxError: Unexpected token { when built with webpack #46

Open parth-gudhka opened 7 years ago

parth-gudhka commented 7 years ago

The node-dir module is working great, but when I build using webpack, there is a funny character "Â" inserted between "if(err) " and " {" at line 65 in readfiles.js (This is for v0.1.16).

screen shot 2017-02-11 at 12 30 13 pm

Is this a known issue?

AckerApple commented 7 years ago

This has been fixed in more fork. Finally going to publish fork to npm today as @fshost appears to have quit on this package

AckerApple commented 7 years ago

https://github.com/AckerApple/node-dir/

AckerApple commented 7 years ago

My fork has been npm published as path-reader. Github package name will eventually change too at some point.

https://www.npmjs.com/package/path-reader