Skip to content

Instantly share code, notes, and snippets.

@nksaraf
Last active December 14, 2020 00:36
Show Gist options
  • Save nksaraf/83e9155eaf183742af74db309869f007 to your computer and use it in GitHub Desktop.
Save nksaraf/83e9155eaf183742af74db309869f007 to your computer and use it in GitHub Desktop.
preact-react
export { default } from 'preact/compat'
export * from 'preact/compat'
module.exports = require('preact/compat');
{
"name": "react",
"version": "0.0.1",
"dependencies": {
"preact": "*"
},
"main": "./index.js",
"module": "./index.esm.js"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment