Skip to content

Commit f3c635a

Browse files
committed
Fixed the issues with umd build, and updated version to 0.2.2
1 parent de7f3b1 commit f3c635a

4 files changed

Lines changed: 13 additions & 3 deletions

File tree

dist/frappe-gantt.iife.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/frappe-gantt.umd.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "frappe-gantt-react",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"license": "MIT",
55
"main": "./index.js",
66
"types": "./typings/main.d.ts",

rollup.config.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,21 @@ export default {
1717
},
1818
{
1919
file: "./dist/frappe-gantt.umd.js",
20-
name: "Gantt",
20+
name: "FrappeGanttReact",
2121
format: "umd",
2222
globals: {
2323
react: "React",
2424
"frappe-gantt": "Gantt"
2525
}
26+
},
27+
{
28+
file: "./dist/frappe-gantt.iife.js",
29+
name: "FrappeGanttReact",
30+
format: "iife",
31+
globals: {
32+
react: "React",
33+
"frappe-gantt": "Gantt"
34+
}
2635
}
2736
],
2837
external: ["react", "react-dom", "frappe-gantt"],

0 commit comments

Comments
 (0)