Open arthurpeck opened 4 years ago
Same here with v3. Downgrading to version 2.1.1 works ok
Fixed the problem for me:
import { breakpoint } from 'styled-components-breakpoint';
import { breakpoint } from 'styled-components-breakpoint';
helped me also ;)
it legit blows my mind we had the same silly issue, i need to code high less often
Hi, After sucessfully used the styled-components-breakpoint in React in the past, I wanted to add styled-components-breakpoint to my components in NextJS. When I use it, it throws an webpack error:
TypeError: styled_components_breakpoint__WEBPACK_IMPORTED_MODULE_4___default(...) is not a function
Component:
next.config.js:
Why is it throwing an error? I can use styled-components perfectly without breakpoints and webpack compiles...