Last active
February 25, 2018 09:06
-
-
Save yanai101/7e0269a5b1a0e0017b4b45b4ce174895 to your computer and use it in GitHub Desktop.
ts and js
This file contains hidden or 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
| { | |
| test: /\.tsx?$/, | |
| use: ["babel-loader","awesome-typescript-loader"], | |
| }, | |
| { | |
| use: [ | |
| { | |
| loader: 'awesome-typescript-loader', | |
| options: { | |
| transpileOnly: true, | |
| useCache: true, | |
| configFileName: process.env.TS_CONFIG_CODE || 'tsconfig.json' | |
| } | |
| } | |
| ], | |
| exclude: /(node_modules|bower_components)/, | |
| test: /((\.jsx?)|(\.js))$/ | |
| }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment