diff --git a/tools/scripts/build-css.mjs b/tools/scripts/build-css.mjs index b2014fd..13c173d 100644 --- a/tools/scripts/build-css.mjs +++ b/tools/scripts/build-css.mjs @@ -21,3 +21,4 @@ esbuild.build({ copy(`${source}/package.json`, `${dist}/package.json`).catch(handleErr); copy(`${source}/README.md`, `${dist}/README.md`).catch(handleErr); +copy(`LICENSE`, `${dist}/LICENSE`).catch(handleErr); diff --git a/tools/scripts/build-types.mjs b/tools/scripts/build-types.mjs index ca33ad3..999852c 100644 --- a/tools/scripts/build-types.mjs +++ b/tools/scripts/build-types.mjs @@ -11,3 +11,4 @@ const handleErr = (err) => { copy(`${source}/package.json`, `${dist}/package.json`).catch(handleErr); copy(`${source}/README.md`, `${dist}/README.md`).catch(handleErr); copy(`${source}/index.d.ts`, `${dist}/index.d.ts`).catch(handleErr); +copy(`LICENSE`, `${dist}/LICENSE`).catch(handleErr);