File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/webchannel-wrapper Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ function createRollupTask({
120
120
} ;
121
121
122
122
const outputOptions = {
123
- file : `dist/index${ outputExtension ? '.' : '' } ${ outputExtension } .js ` ,
123
+ file : `dist/index${ outputExtension ? '.' : '' } ${ outputExtension } .mjs ` ,
124
124
format,
125
125
sourcemap : true ,
126
126
// Prevents warning when compiling CJS that there are named and default exports together.
Original file line number Diff line number Diff line change 10
10
"." : {
11
11
"types" : " ./src/index.d.ts" ,
12
12
"require" : " ./dist/index.js" ,
13
- "esm5" : " ./dist/index.esm.js " ,
14
- "default" : " ./dist/index.esm2017.js "
13
+ "esm5" : " ./dist/index.esm.mjs " ,
14
+ "default" : " ./dist/index.esm2017.mjs "
15
15
},
16
16
"./package.json" : " ./package.json"
17
17
},
You can’t perform that action at this time.
0 commit comments