Add @probo/cookie-banner SDK package scaffold
Introduce the boilerplate for a new public npm package that will serve as the cookie consent banner JavaScript SDK. The package uses esbuild to produce both an IIFE bundle (for script tag embedding) and an ESM module. Versioning is independent from the monorepo: CI compares package.json against npm and only publishes when the version changes. Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
13
packages/cookie-banner/tsconfig.json
Normal file
13
packages/cookie-banner/tsconfig.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/tsconfig",
|
||||
"extends": "@probo/tsconfig/base.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"declarationDir": "dist",
|
||||
"emitDeclarationOnly": true,
|
||||
"rootDir": "src",
|
||||
"outDir": "dist",
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"]
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
Reference in New Issue
Block a user