From f013fe16a7eab6255a05bccd07e57b20e70d3490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Achim=20Kr=C3=BCger?= Date: Tue, 27 Jun 2017 10:08:35 +0200 Subject: [PATCH] Update typescript.md Otherwise it's not possible to resolve imports in the entry file from other .ts or .tsx files --- content/guides/typescript.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/guides/typescript.md b/content/guides/typescript.md index ddffdb918a55..4065d056d7a9 100644 --- a/content/guides/typescript.md +++ b/content/guides/typescript.md @@ -62,6 +62,9 @@ module.exports = { } ] }, + resolve: { + extensions: [".tsx", ".ts", ".js"] + }, output: { filename: 'bundle.js', path: __dirname