diff --git a/ember-resources/rollup.config.js b/ember-resources/rollup.config.js index 945e2b88a..3724ff8f8 100644 --- a/ember-resources/rollup.config.js +++ b/ember-resources/rollup.config.js @@ -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, + }), }, }), diff --git a/testing/build/expected-output-files.txt b/testing/build/expected-output-files.txt index bca3c4fb8..32e506e3d 100644 --- a/testing/build/expected-output-files.txt +++ b/testing/build/expected-output-files.txt @@ -1,3 +1,4 @@ -index.js index.d.ts +index.d.ts.map +index.js index.js.map