Skip to content

Commit 2e3044d

Browse files
committed
chore: generate type definitions
1 parent 48575c2 commit 2e3044d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function createEntry(options) {
4646
}
4747

4848
if (format === 'es') {
49-
config.output.file = isBrowser ? pkg.browser : pkg.module
49+
config.output.file = pkg.module
5050
}
5151
if (format === 'cjs') {
5252
config.output.file = pkg.main
@@ -58,7 +58,7 @@ function createEntry(options) {
5858
check: format === 'es' && isBrowser,
5959
tsconfigOverride: {
6060
compilerOptions: {
61-
declaration: format === 'es' && isBrowser,
61+
declaration: format === 'es',
6262
target: 'es5', // not sure what this should be?
6363
module: format === 'cjs' ? 'es2015' : 'esnext'
6464
},

0 commit comments

Comments
 (0)