You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have my project structure set up to symlink local dependencies. Those symlinked dependencies also import css files. I have an example project linked below so you can see the issue reproduced. You can bundle with browserify just fine if you import the 'style.css' while working inside the 'styled-component' project, but if you try to use it as a symlinked local dependency using linklocal, you will get an 'Unexpected token' error as soon as it tries to read the css.
I have my project structure set up to symlink local dependencies. Those symlinked dependencies also import css files. I have an example project linked below so you can see the issue reproduced. You can bundle with browserify just fine if you import the 'style.css' while working inside the 'styled-component' project, but if you try to use it as a symlinked local dependency using
linklocal
, you will get an 'Unexpected token' error as soon as it tries to read the css.Link: example project
The text was updated successfully, but these errors were encountered: