Webpack cant resolve TypeScript modules

Webpack does not look for .ts files by default. You can configure resolve.extensions to look for .ts. Don’t forget to add the default values as well, otherwise most modules will break because they rely on the fact that the .js extension is automatically used.

resolve: {
    extensions: ['.ts', '.js', '.json']
}

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)