Skip to content

Commit

Permalink
feat: improve dist folder structure
Browse files Browse the repository at this point in the history
BREAKING CHANGE: new file names for built files in dist folder.
  • Loading branch information
gregjopa committed Jun 4, 2021
1 parent d14decb commit b032f77
Show file tree
Hide file tree
Showing 5 changed files with 2,343 additions and 6,234 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if (process.env.NODE_ENV === "production") {
module.exports = require("./dist/cjs/react-paypal-js.min.js");
} else {
module.exports = require("./dist/cjs/react-paypal-js.js");
}

0 comments on commit b032f77

Please sign in to comment.