Skip to content

Commit fd2cc6a

Browse files
Add license notice banner to browser.script.iife.js
1 parent 481eb79 commit fd2cc6a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/npm-packages/ruby-head-wasm-wasi/rollup.config.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import json from "@rollup/plugin-json";
2+
import fs from "fs";
3+
import path from "path";
24

35
/** @type {import('rollup').RollupOptions[]} */
46
export default [
@@ -7,7 +9,8 @@ export default [
79
output: [
810
{
911
file: "dist/browser.script.iife.js",
10-
format: "iife"
12+
format: "iife",
13+
banner: "/* " + fs.readFileSync(path.resolve("../../../NOTICE"), "utf8") + "*/",
1114
}
1215
],
1316
plugins: [

0 commit comments

Comments
 (0)