mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
improve library code generation, add versioning
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { version } from "./package.json";
|
||||
|
||||
// rollup.config.js
|
||||
export default {
|
||||
input: "dist/core/src/ts/core/index.js",
|
||||
output: {
|
||||
file: "dist/core.js",
|
||||
format: "iife",
|
||||
name: "odoo",
|
||||
extend: true,
|
||||
outro: `exports.core.version = '${version}';`
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user