Skip to content

Commit

Permalink
Fixed the issues with umd build, and updated version to 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammed-io committed May 3, 2019
1 parent de7f3b1 commit f3c635a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions dist/frappe-gantt.iife.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/frappe-gantt.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frappe-gantt-react",
"version": "0.2.1",
"version": "0.2.2",
"license": "MIT",
"main": "./index.js",
"types": "./typings/main.d.ts",
Expand Down
11 changes: 10 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,21 @@ export default {
},
{
file: "./dist/frappe-gantt.umd.js",
name: "Gantt",
name: "FrappeGanttReact",
format: "umd",
globals: {
react: "React",
"frappe-gantt": "Gantt"
}
},
{
file: "./dist/frappe-gantt.iife.js",
name: "FrappeGanttReact",
format: "iife",
globals: {
react: "React",
"frappe-gantt": "Gantt"
}
}
],
external: ["react", "react-dom", "frappe-gantt"],
Expand Down

0 comments on commit f3c635a

Please sign in to comment.