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 b787b04 commit 69e2433Copy full SHA for 69e2433
src/utils.ts
@@ -58,7 +58,7 @@ export const parseResource = (path: string) => {
58
if (asType) {
59
chunk.resourceType = asType
60
61
- if (asType === 'script') {
+ if (asType === 'script' && extension !== 'cjs') {
62
chunk.module = true
63
}
64
0 commit comments