We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48575c2 commit 2e3044dCopy full SHA for 2e3044d
rollup.config.js
@@ -46,7 +46,7 @@ function createEntry(options) {
46
}
47
48
if (format === 'es') {
49
- config.output.file = isBrowser ? pkg.browser : pkg.module
+ config.output.file = pkg.module
50
51
if (format === 'cjs') {
52
config.output.file = pkg.main
@@ -58,7 +58,7 @@ function createEntry(options) {
58
check: format === 'es' && isBrowser,
59
tsconfigOverride: {
60
compilerOptions: {
61
- declaration: format === 'es' && isBrowser,
+ declaration: format === 'es',
62
target: 'es5', // not sure what this should be?
63
module: format === 'cjs' ? 'es2015' : 'esnext'
64
},
0 commit comments