diff --git a/examples/benchmarks/index.html b/examples/benchmarks/index.html
index 9ae778b0..d190dc2f 100644
--- a/examples/benchmarks/index.html
+++ b/examples/benchmarks/index.html
@@ -6,7 +6,7 @@
-
+
diff --git a/examples/todoapp/index.html b/examples/todoapp/index.html
index 7f851575..0ae4af71 100644
--- a/examples/todoapp/index.html
+++ b/examples/todoapp/index.html
@@ -6,7 +6,7 @@
-
+
diff --git a/package.json b/package.json
index e5af048e..ff8974fe 100644
--- a/package.json
+++ b/package.json
@@ -4,10 +4,10 @@
"description": "Odoo Web Lab",
"main": "src/index.ts",
"scripts": {
- "build:js": "tsc --lib es2017,dom --target esnext --outDir dist/core src/*",
+ "build:js": "tsc --lib es2017,dom --target esnext --outDir dist/owl src/*",
"build:bundle": "rollup -c",
"build": "npm run build:js && npm run build:bundle",
- "minify": "uglifyjs dist/core.js -o dist/core.min.js --compress --mangle",
+ "minify": "uglifyjs dist/owl.js -o dist/owl.min.js --compress --mangle",
"dev": "npm-run-all --parallel \"build:* -- --watch\"",
"test": "jest",
"test:watch": "jest --watch",
@@ -19,12 +19,12 @@
"example:web:serve": "live-server --entry-file=index.html dist/examples/web/",
"preexample:web:dev": "npm run example:web:build",
"example:web:dev": "npm-run-all --parallel \"example:web:build:* -- --watch\" example:web:serve",
- "example:benchmarks:build:core": "npm run build && cpx \"dist/core.js\" dist/examples/benchmarks",
+ "example:benchmarks:build:core": "npm run build && cpx \"dist/owl.js\" dist/examples/benchmarks",
"example:benchmarks:build:js": "cpx \"examples/benchmarks/{*.html,*.js,*.css}\" dist/examples/benchmarks",
"example:benchmarks:build": "npm-run-all --parallel example:benchmarks:build:*",
"example:benchmarks:serve": "live-server --entry-file=index.html dist/examples/benchmarks/",
"example:benchmarks:dev": "npm-run-all --parallel \"example:benchmarks:build:* -- --watch\" example:benchmarks:serve",
- "example:todoapp:build:core": "npm run build && cpx \"dist/core.js\" dist/examples/todoapp",
+ "example:todoapp:build:core": "npm run build && cpx \"dist/owl.js\" dist/examples/todoapp",
"example:todoapp:build:js": "cpx \"examples/todoapp/{*.html,**/*.js,*.css,*.xml}\" dist/examples/todoapp",
"example:todoapp:build": "npm-run-all --parallel example:todoapp:build:*",
"example:todoapp:serve": "live-server --entry-file=index.html dist/examples/todoapp/",
diff --git a/rollup.config.js b/rollup.config.js
index 7632c971..00a6c626 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -3,9 +3,9 @@ import git from "git-rev-sync";
// rollup.config.js
export default {
- input: "dist/core/src/index.js",
+ input: "dist/owl/src/index.js",
output: {
- file: "dist/core.js",
+ file: "dist/owl.js",
format: "iife",
name: "owl",
extend: true,