+12
scripts/rollup/config.js
+12
scripts/rollup/config.js
···
124
124
fileName: 'package.json',
125
125
source: packageMetadata,
126
126
});
127
+
128
+
this.emitFile({
129
+
type: 'asset',
130
+
fileName: 'README.md',
131
+
source: await fs.readFile('README.md'),
132
+
});
133
+
134
+
this.emitFile({
135
+
type: 'asset',
136
+
fileName: 'LICENSE',
137
+
source: await fs.readFile('./LICENSE'),
138
+
});
127
139
},
128
140
129
141
async renderChunk(_code, { fileName }) {