Closed hashtd closed 6 years ago
So, I've narrowed this down to being how we serialize data across the fork middleware, as this issue only exists when trying to use it as you are across processes.
The problem is that you are using a string for the test
parameter, which won't work as you have it defined, since it needs to be a regex to use a pattern. This leads to another problem, where the regex isn't transported across the process since it's an object.
style: {
test: /\.s?css$/,
loaders: [{
loader: 'sass-loader',
useId: 'sass'
}]
}
please check repo for full example
https://github.com/hashtd/neutrino_sass_issue
in neutrino version 8.0.10 sass-loader in working fine , but same config giving error in 8.0.16
but after update to 8.0.16 it is giving issue
inside style i tried putting inside style
test: '/\.s?css/'
but from running inspect, its looking like following (style test regex not working)