johanjonsson
johanjonsson
i created an env.development file now aswell because it process.env.NODE_ENV says development but i still get undefined when trying to reach it. here are my scripts i am currently just...
That solved it think i had problem with that the my filename didnt start with "."
Got past those two errors by adding ``` alias: { 'styled-components': path.resolve("C:\Users\JohanJonsson\code\clientmodule", 'node_modules', 'styled-components'), } ``` in the config of webpack but that just makes it so that i cant...
all i needed was to add .js to my extension resolve in webpack.config.js