trying to make this package work with ssr

This commit is contained in:
andrelandgraf 2020-04-30 07:27:11 +02:00
parent ff85a72363
commit ac8acc8582
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "react-datalist-input", "name": "react-datalist-input",
"version": "1.3.8", "version": "1.3.9",
"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.", "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", "main": "./lib/DataListInput.js",
"license": "MIT", "license": "MIT",

View File

@ -30,5 +30,9 @@ module.exports = {
} }
] ]
}, },
externals: {
react: 'umd react',
'react-dom' : 'umd react-dom'
}
} }