Can webpack read through symlinks? I have a simple symlink under /src with .jsx files. I have { test: /\.jsx?$/, loader: 'babel-loader?...', include: path.resolve(__dirname, 'src') } but it won't load files with babel-loader, I get ES5 compilation error.
If I replace the symlink with the actual folder and files - it works.
If I replace the include with exclude: /node_modules/ it also works.
Bug, or am I doing it wrong?
Can webpack read through symlinks? I have a simple symlink under
/srcwith.jsxfiles. I have{ test: /\.jsx?$/, loader: 'babel-loader?...', include: path.resolve(__dirname, 'src') }but it won't load files withbabel-loader, I get ES5 compilation error.If I replace the symlink with the actual folder and files - it works.
If I replace the
includewithexclude: /node_modules/it also works.Bug, or am I doing it wrong?