Closed marcjlyoung closed 2 years ago
Why its broken:
Seems the regex is not escaped correctly using new RegExp
Solution:
new RegExp('\\.\\w+(?<!(s?c|sa)ss)$', 'i')
Adjust package.json to 1.8.2 without caret (^)
@marcjlyoung Could you help me with creating a PR?
Unfortunately I won't be able to assist right now, I quickly posted the solution so you could test it. I'm away from my rig
@marcjlyoung Just added the fix and published a new version. Thanks for the help 👍 Do you think this change is in conflict with this PR? CC @lvancraen
No don't think there is a conflict, I just fixed the new regex param so that it created the same output as was previously there in v1.8.2, since it's still using the new regex function safari should be okay 👍
Not to sure what happened but reverting to 1.8.2 without ^ solves the issue :)
`./src/images/buttons/searchButton.svg Module parse failed: Unexpected token (1:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders