Allow TS in modules

This commit is contained in:
Jake Archibald
2018-11-09 14:19:23 -08:00
parent 676e460654
commit eb5a2e5583

View File

@@ -141,7 +141,8 @@ module.exports = function (_, env) {
}, },
{ {
test: /\.tsx?$/, 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`. // All the codec files define a global with the same name as their file name. `exports-loader` attaches those to `module.exports`.