Skip to content

Commit

Permalink
Merge pull request #59 from mercadona/fix-dist-file-exports
Browse files Browse the repository at this point in the history
Fix dist file exports
  • Loading branch information
pablogm95 authored May 13, 2024
2 parents e904a25 + 4fa7e04 commit 6bd873a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
"description": "🌯 🌯 Wrap you tests so that you can test both behaviour and components with less effort.",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js"
},
"./integration": {
"import": "./dist/integration.js"
}
".": "./dist/index.js",
"./integration": "./dist/integration.js"
},
"types": "./dist/index.d.ts",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig } from 'tsup'

export default defineConfig(options => ({
entryPoints: {
dist: './src/index.ts',
index: './src/index.ts',
integration: './src/integration.ts',
},
outDir: 'dist',
Expand Down

0 comments on commit 6bd873a

Please sign in to comment.