diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 3bfd3578e3..6526b3ee3d 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -20,6 +20,7 @@ "files": [ "dist/**/*.js", "dist/**/*.d.ts", + "dist/**/*.map", "!**/*.json", "README.md" ] diff --git a/packages/frontend/tsconfig.json b/packages/frontend/tsconfig.json index 7d31f7ff63..008e8d94d7 100644 --- a/packages/frontend/tsconfig.json +++ b/packages/frontend/tsconfig.json @@ -3,7 +3,10 @@ "compilerOptions": { "lib": ["es2015", "dom"], "rootDir": "lib", - "outDir": "dist" + "outDir": "dist", + "declaration": true, + "declarationMap": true, + "sourceMap": true }, "references": [ {