const path = require('path'); | |
module.exports = { | |
entry: './src/index.tsx', | |
resolve: { | |
extensions: ['.ts', '.tsx', '.js'] | |
}, | |
output: { | |
path: path.join(__dirname, '/dist'), | |
filename: 'bundle.min.js' | |
}, | |
module: { | |
rules: [ | |
{ | |
test: /\.tsx?$/, | |
loader: 'awesome-typescript-loader' | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment