Created
June 11, 2020 15:14
-
-
Save marcosteam/58e95f1c94d83662c9df47b5868c7413 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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