Skip to content

Commit

Permalink
Add better sourcemap support for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Schulte committed Nov 14, 2018
1 parent 18082ea commit 47b2331
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"nyc": "^12.0.2",
"rollup": "^0.66.4",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-visualizer": "^0.9.2",
"shx": "^0.2.2",
"ts-loader": "^2.3.7",
Expand Down
2 changes: 2 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import nodeResolve from "rollup-plugin-node-resolve";
import visualizer from "rollup-plugin-visualizer";
import sourcemaps from "rollup-plugin-sourcemaps";

const banner = `/** @license ms-rest-azure-js
* Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -24,6 +25,7 @@ const config = {
},
plugins: [
nodeResolve({ module: true }),
sourcemaps(),
visualizer({ filename: "dist/node-stats.html", sourcemap: true })
]
}
Expand Down

0 comments on commit 47b2331

Please sign in to comment.