Created
January 13, 2019 15:18
-
-
Save haldarmahesh/be2428a0c6aeebc7074c34c023eca4ad to your computer and use it in GitHub Desktop.
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
| module.exports = { | |
| entry: [ | |
| path.join(process.cwd(), 'app/app.tsx'), // or whatever the path of your root file is | |
| ] | |
| module: { | |
| rules:[{ test: /\.tsx?$/, loader: 'awesome-typescript-loader' }], // other loader configuration goes in the array | |
| resolve: {extensions: ['.js', '.jsx', '.react.js', '.ts', '.tsx']} | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment