trying to make this package work with ssr

This commit is contained in:
andrelandgraf 2020-04-30 07:22:57 +02:00
parent d70cd7987f
commit 1c37a243d1
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "react-datalist-input",
"version": "1.3.6",
"version": "1.3.7",
"description": "This package provides a react component as follows: an input field with a drop down menu to pick a possible option based on the current input.",
"main": "./lib/DataListInput.js",
"license": "MIT",

View File

@ -30,5 +30,10 @@ module.exports = {
}
]
},
externals: {
// Use external version of React
"react": "React",
"react-dom": "ReactDOM"
},
}