Last active
February 22, 2018 21:19
-
-
Save MadaraUchiha/9e7601d45f99fbca8074e97795933b1d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is the interesting bit | |
module: { | |
rules: [ | |
{ | |
use: [ | |
{ | |
loader: 'awesome-typescript-loader', | |
options: { | |
transpileOnly: true, // Note, this means you ignore errors. | |
// Due to legacy, we ignore errors in TypeScript files too, DON'T DO THIS FOR TS FILES | |
useCache: true, | |
configFileName: process.env.TS_CONFIG_CODE || 'tsconfig.json' | |
} | |
} | |
], | |
exclude: /(node_modules|bower_components)/, | |
test: /((\.tsx?)|(\.js))$/ | |
} | |
] | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment