usync
Version:
A lightweight library used for serial task control
15 lines (13 loc) • 393 B
JavaScript
var webpack = require('webpack')
module.exports = {
resolve: {
// Add '.ts' and '.tsx' as resolvable extensions.
extensions: [".webpack.js", ".web.js", ".ts", ".tsx", ".js"]
},
module: {
rules: [
// All files with a '.ts' or '.tsx' extension will be handled by 'ts-loader'.
{test: /\.tsx?$/, loader: "ts-loader"}
]
}
};