diff --git a/.changeset/many-pears-repeat.md b/.changeset/many-pears-repeat.md new file mode 100644 index 00000000..fa61ffd8 --- /dev/null +++ b/.changeset/many-pears-repeat.md @@ -0,0 +1,5 @@ +--- +'test-mule': patch +--- + +Bundle types for `@testing-library/dom` so people don't have to install `@testing-library/dom` (closes #50) diff --git a/rollup.config.js b/rollup.config.js index 944369c8..3cd6b76e 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -36,7 +36,8 @@ const mainConfig = { const typesConfig = { input: 'src/index.ts', output: [{ file: 'dist/index.d.ts', format: 'es' }], - plugins: [dts()], + external: ['puppeteer', 'vite', 'pretty-format'], + plugins: [dts({ respectExternal: true })], }; export default [