MCPcopy Index your code
hub / github.com/rollup/plugins / emitModulePackageFile

Function emitModulePackageFile

shared/rollup.config.mjs:42–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42export function emitModulePackageFile() {
43 return {
44 name: 'emit-module-package-file',
45 generateBundle() {
46 this.emitFile({
47 type: 'asset',
48 fileName: 'package.json',
49 source: `{"type":"module"}`
50 });
51 }
52 };
53}

Callers 1

createConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected