diff --git a/package.json b/package.json index bea20d470..b9e538e84 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/rollup.config.js b/rollup.config.js index adccf9fa5..ffc061dd4 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -8,11 +8,14 @@ export default [ { file: "lib/index.mjs", format: "es", + sourcemap: true, }, ], + plugins: [ typescript({ tsconfig: "tsconfig.esm.json", + sourceMap: true, }), ], }, diff --git a/yarn.lock b/yarn.lock index bb141ba88..64dba0afd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"