rotundasoftware / parcelify

Add css to your npm modules consumed with browserify.
MIT License
251 stars 20 forks source link

support appTransformDirs which are symlinks #37

Open mkoryak opened 9 years ago

mkoryak commented 9 years ago

one of my appTransformDirs happened to be a symlink, which caused nothing under it to be transformed, because the dir didnt match. (which in turn caused raw sass to appear in my css)

the fix was:

appTransformDirs: [
    './app/', './app/bower_components/',
    fs.realpathSync(path.join(__dirname, './app/bower_components/hn-core/app/'))
]

which could be done within your lib