From eb5a2e55830fa76aee4838c37191ab8ff85a58cf Mon Sep 17 00:00:00 2001 From: Jake Archibald Date: Fri, 9 Nov 2018 14:19:23 -0800 Subject: [PATCH] Allow TS in modules --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 093e04a0..5bf56a8d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -141,7 +141,8 @@ module.exports = function (_, env) { }, { test: /\.tsx?$/, - loader: 'ts-loader' + loader: 'ts-loader', + options: { allowTsInNodeModules: true } }, { // All the codec files define a global with the same name as their file name. `exports-loader` attaches those to `module.exports`.