DEV Community

Discussion on: Production ready Typescript Serverless project configuration

Collapse
 
darkmavis1980 profile image
Alessio Michelini

Hi, I gave it a try, but I was having some issues with dependencies (axios), and I fixed them by updating the extensions like so:

// in webpack.config.js from
extensions: ['.ts', 'tsx']

// to
extensions: ['.ts', '.tsx', '.js']
Enter fullscreen mode Exit fullscreen mode

You were also missing the . in the tsx one.