Skip to content

Instantly share code, notes, and snippets.

@serhii-havrylenko
Created October 28, 2018 13:54
Show Gist options
  • Save serhii-havrylenko/a0edd62fda5c2665539351638001ebce to your computer and use it in GitHub Desktop.
Save serhii-havrylenko/a0edd62fda5c2665539351638001ebce to your computer and use it in GitHub Desktop.
module.exports = (baseConfig, env, config) => {
config.module.rules.push({
test: /\.(ts|tsx)$/,
loader: require.resolve('awesome-typescript-loader'),
});
config.resolve.extensions.push('.ts', '.tsx');
return config;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment