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.
.cjs
1 parent 0f86bc4 commit ddcd923Copy full SHA for ddcd923
.changes/api-cjs-chunks.md
@@ -0,0 +1,5 @@
1
+---
2
+"api": patch
3
4
+
5
+CommonJS chunks are now properly exported with `.cjs` extension
tooling/api/rollup.config.js
@@ -36,6 +36,7 @@ export default [
36
dir: 'dist/',
37
entryFileNames: '[name].cjs',
38
format: 'cjs',
39
+ chunkFileNames: '[name]-[hash].cjs',
40
exports: 'named',
41
globals: {}
42
},
0 commit comments