Last active
May 29, 2018 12:37
-
-
Save carlosmarte/d126356a17bd9131eaf7fc06d3d623be to your computer and use it in GitHub Desktop.
post-webpack-standard-ts-loader
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
var path = require('path'); | |
module.exports = { | |
entry: './src/index', | |
output: { | |
path: path.resolve(__dirname, 'dist'), | |
filename: 'app.bundle.js' | |
}, | |
resolve: { | |
extensions: ['.ts', '.tsx', '.js', '.json'] | |
}, | |
module: { | |
rules: [ | |
{ | |
test: /\.(tsx?)|(js)$/, | |
exclude: /node_modules/, | |
loader: 'babel-loader', | |
} | |
], | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment