mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
20 lines
388 B
JavaScript
20 lines
388 B
JavaScript
module.exports = {
|
|
entry: ['./test/index.tsx'],
|
|
resolve: {
|
|
extensions: ["", ".webpack.js", ".web.js", ".js", ".ts", ".tsx"]
|
|
},
|
|
output: {
|
|
path: './output/',
|
|
filename: 'bundle.js'
|
|
},
|
|
module: {
|
|
loaders: [
|
|
{
|
|
test: /.tsx?$/,
|
|
loaders: ['babel-loader', 'ts-loader'],
|
|
exclude: /node_modules/
|
|
}
|
|
]
|
|
},
|
|
devtool: "#source-map"
|
|
}; |