Skip to content

Instantly share code, notes, and snippets.

@marcosteam
Created June 11, 2020 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcosteam/58e95f1c94d83662c9df47b5868c7413 to your computer and use it in GitHub Desktop.
Save marcosteam/58e95f1c94d83662c9df47b5868c7413 to your computer and use it in GitHub Desktop.
module.exports = {
entry: {
index: "./src/index/index.tsx",
output: {
filename: "bundle.js",
path: __dirname+"/dist"
}
},
devtool: "source-map",
plugins: [new HtmlWebPlugin()],
module: {
rules: [
{
test: /\.tsx?$/,
use: 'ts-loader',
exclude: /node_modules/,
},
],
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment