Skip to content

Instantly share code, notes, and snippets.

@dsibinski
Last active August 29, 2020 09:42
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 dsibinski/2cb3c4c10fe63a9020508c20fa31eef3 to your computer and use it in GitHub Desktop.
Save dsibinski/2cb3c4c10fe63a9020508c20fa31eef3 to your computer and use it in GitHub Desktop.
devtool: "eval-source-map",
module: {
rules: [
{
enforce: "pre",
test: /\.js$/,
exclude: /node_modules/,
loader: "source-map-loader"
},
{
test: /\.(t|j)sx?$/,
exclude: /node_modules/,
use: {
loader: 'ts-loader'
}
},
],
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment