gotty/js/webpack.config.js
2017-08-22 16:03:19 +09:00

20 lines
395 B
JavaScript

module.exports = {
entry: "./src/main.ts",
output: {
filename: "./dist/gotty-bundle.js"
},
devtool: "source-map",
resolve: {
extensions: [".ts", ".tsx", ".js"],
},
module: {
rules: [
{
test: /\.tsx?$/,
loader: "ts-loader",
exclude: [/node_modules/],
}
]
}
};