We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48cb8cf commit 54c3cb5Copy full SHA for 54c3cb5
README.md
@@ -76,7 +76,7 @@ yarn add netlify-identity-widget
76
Import or require as usual:
77
78
```js
79
-import netlifyIdentity from "netlify-identity-widget"
+const netlifyIdentity = require("netlify-identity-widget")
80
81
netlifyIdentity.init({
82
container: "#netlify-modal" // defaults to document.body
webpack.config.babel.js
@@ -20,7 +20,8 @@ module.exports = {
20
publicPath: "/",
21
filename: "[name].js",
22
library: "netlifyIdentity",
23
- libraryTarget: "umd"
+ libraryTarget: "umd",
24
+ libraryExport: "default"
25
},
26
27
resolve: {
0 commit comments