Skip to content

Commit

Permalink
feat: add declaration maps
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Feb 24, 2022
1 parent 2015929 commit eff33e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion ember-resources/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ export default defineConfig({
browserslist: ['last 2 firefox versions', 'last 2 chrome versions'],
tsconfig: {
fileName: 'tsconfig.json',
hook: (config) => ({ ...config, declaration: true, declarationDir: 'dist' }),
hook: (config) => ({
...config,
declaration: true,
declarationDir: 'dist',
declarationMap: true,
}),
},
}),

Expand Down
3 changes: 2 additions & 1 deletion testing/build/expected-output-files.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
index.js
index.d.ts
index.d.ts.map
index.js
index.js.map

0 comments on commit eff33e4

Please sign in to comment.