Skip to content

Commit

Permalink
Merge pull request #1525 from AzureAD/source-maps
Browse files Browse the repository at this point in the history
Switch to file-based sourcemaps for msal.js and msal.min.js
  • Loading branch information
jasonnutter committed Apr 23, 2020
2 parents 30f995b + cb6f3ab commit 4ef6263
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/msal-core/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = {
extensions: ['.ts', '.tsx', '.js']
},

devtool: 'inline-source-map',
devtool: 'source-map',
plugins: [
new ForkTsCheckerWebpackPlugin(),
new webpack.BannerPlugin({
Expand All @@ -37,7 +37,8 @@ module.exports = {
optimization: {
minimize: true,
minimizer: [new UglifyJsPlugin({
include: /\.min\.js$/
include: /\.min\.js$/,
sourceMap: true
})]
},
module: {
Expand All @@ -51,4 +52,4 @@ module.exports = {
}
}]
}
}
}

0 comments on commit 4ef6263

Please sign in to comment.