diff --git a/package.json b/package.json index 0b855d58..977c27fe 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Core Utils for Odoo Web Client", "main": "src/index.ts", "scripts": { - "prebuild": "tsc --allowjs --lib es2017,dom --target esnext --outDir dist/core src/*", + "prebuild": "tsc --lib es2017,dom --target esnext --outDir dist/core src/*", "build": "rollup -c", "postbuild": "uglifyjs dist/core.js -o dist/core.min.js --compress --mangle", "test": "jest", diff --git a/src/blip.d.ts b/src/blip.d.ts new file mode 100644 index 00000000..42df1cca --- /dev/null +++ b/src/blip.d.ts @@ -0,0 +1 @@ +declare module "snabbdom";