Skip to content

Commit

Permalink
Add sourcemap
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McDonnell committed Jun 13, 2021
1 parent 12ae009 commit 1affb58
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"ts-jest": "^26.4.4",
"ts-node": "^9.1.0",
"tslib": "^2.1.0",
"typescript": "^4.2.4"
"typescript": "^4.3.2"
},
"husky": {
"hooks": {
Expand Down
3 changes: 3 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ export default [
{
file: "lib/index.mjs",
format: "es",
sourcemap: true,
},
],

plugins: [
typescript({
tsconfig: "tsconfig.esm.json",
sourceMap: true,
}),
],
},
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5327,10 +5327,10 @@ typedarray-to-buffer@^3.1.5:
dependencies:
is-typedarray "^1.0.0"

typescript@^4.2.4:
version "4.2.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.4.tgz#8610b59747de028fda898a8aef0e103f156d0961"
integrity sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==
typescript@^4.3.2:
version "4.3.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.2.tgz#399ab18aac45802d6f2498de5054fcbbe716a805"
integrity sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==

uglify-js@^3.1.4:
version "3.12.1"
Expand Down

0 comments on commit 1affb58

Please sign in to comment.