Jan Šilhan
Jan Šilhan
Is there any other workaround? Because Babel plugin will break parcel build. Or will be there solution from styled components?
Hey, guys, I have forked babel plugin and added namespace settings. Edit: Works great after some testing. You can take a look here: [babel-plugin-styled-components-namespace](https://github.com/rajzik/babel-plugin-styled-components-namespace)
@pgangwani : I can create PR for the original babel plugin. EDIT: [PR](https://github.com/styled-components/babel-plugin-styled-components/pull/281) opened. Please support this PR so we can have added namespace to the official babel plugin.
Change `http-get://localhost:3000` to `https-get://localhost:3000` this should resolve your issue. If not try following script: `START_SERVER_AND_TEST_INSECURE=1 start-server-and-test start http-get://localhost:3000 cy:open`.
@rodoabad The error comes from where? If you have some sort of routing inside of your application and you get redirected from `/` to `/#/` it shouldn't be problem. `start-test`...
@iamgollum When using webpack dev server use `http-get://` instead of `http://`. https://www.npmjs.com/package/start-server-and-test#note-for-webpack-dev-server-users Can you replicate this issue somehow?
@luanraithz I have had issue with [css-namespace-plugin](https://github.com/QuickBase/babel-plugin-styled-components-css-namespace), it didn't work with a parcel for example. [generated output](https://github.com/styled-components/babel-plugin-styled-components/blob/master/test/fixtures/use-namespace/output.js) of namespace setting I am not sure why there is the only hash....
@luanraithz I have checked my local env and it works as intended. I don't have that short hash class name.
@luanraithz There might be an issue, after all, I have checked the wrong plugin, there has to be some PR which negates my changes. Will take a look.
Sorry, not yet I didn't had any time.