Rework cookie-banner exports: themed banner as default, headless as subpath
Make the themed banner the default "." export and move the headless components to "./headless". Remove unused VERSION export. Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -28,8 +28,8 @@ await Promise.all([
|
||||
}),
|
||||
esbuild.build({
|
||||
...shared,
|
||||
entryPoints: ["src/themed-banner/index.ts"],
|
||||
outfile: "dist/cookie-banner-themed.mjs",
|
||||
entryPoints: ["src/headless/index.ts"],
|
||||
outfile: "dist/cookie-banner-headless.mjs",
|
||||
format: "esm",
|
||||
}),
|
||||
esbuild.build({
|
||||
|
||||
Reference in New Issue
Block a user