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.
1 parent 481eb79 commit fd2cc6aCopy full SHA for fd2cc6a
packages/npm-packages/ruby-head-wasm-wasi/rollup.config.mjs
@@ -1,4 +1,6 @@
1
import json from "@rollup/plugin-json";
2
+import fs from "fs";
3
+import path from "path";
4
5
/** @type {import('rollup').RollupOptions[]} */
6
export default [
@@ -7,7 +9,8 @@ export default [
7
9
output: [
8
10
{
11
file: "dist/browser.script.iife.js",
- format: "iife"
12
+ format: "iife",
13
+ banner: "/* " + fs.readFileSync(path.resolve("../../../NOTICE"), "utf8") + "*/",
14
}
15
],
16
plugins: [
0 commit comments