We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e08a09 commit ed1d9c7Copy full SHA for ed1d9c7
dist/cjs/package.json
@@ -1 +1 @@
1
-{ type: commonjs }
+{ "type": "commonjs" }
rollup.config.js
@@ -18,7 +18,7 @@ export default [
18
transformMixedEsModules: true,
19
dynamicRequireTargets: ["**/js/src/static_dependencies/**/*.cjs"],
20
}),
21
- execute("echo { \"type\": \"commonjs\" } > ./dist/cjs/package.json") // this is needed to make node treat files inside dist/cjs as CJS modules
+ execute("echo '{ \"type\": \"commonjs\" }' > ./dist/cjs/package.json") // this is needed to make node treat files inside dist/cjs as CJS modules
22
],
23
onwarn: ( warning, next ) => {
24
if ( warning.message.indexOf('is implicitly using "default" export mode') > -1 ) return;
0 commit comments