chore: update preact (#1174)

* chore: update preact

* fix preact
This commit is contained in:
Nolan Lawson 2019-05-04 14:16:07 -07:00 committed by GitHub
parent b13f0afc37
commit bbf5b7f0c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 10 deletions

View file

@ -82,7 +82,7 @@
"page-lifecycle": "^0.1.1",
"performance-now": "^2.1.0",
"pinch-zoom-element": "^1.1.1",
"preact": "^10.0.0-alpha.2",
"preact": "^10.0.0-beta.1",
"prop-types": "^15.7.2",
"quick-lru": "^4.0.0",
"remount": "^0.11.0",

View file

@ -8,9 +8,8 @@ const resolve = {
extensions: ['.js', '.json', '.html'],
mainFields: ['svelte', 'module', 'browser', 'main'],
alias: {
'react': 'preact/compat/dist/compat.js',
'react-dom': 'preact/compat/dist/compat.js',
'preact/hooks': 'preact/hooks/dist/hooks.js'
'react': 'preact/compat/dist/compat.module.js',
'react-dom': 'preact/compat/dist/compat.module.js'
}
}

View file

@ -5783,12 +5783,10 @@ postcss@^7.0.14, postcss@^7.0.5, postcss@^7.0.6:
source-map "^0.6.1"
supports-color "^6.1.0"
preact@^10.0.0-alpha.2:
version "10.0.0-alpha.2"
resolved "https://registry.yarnpkg.com/preact/-/preact-10.0.0-alpha.2.tgz#61ba4f2ca20b75352ad5ed8aa239302df83dae74"
integrity sha512-8G0UFC0Sa/giqI/jR3LIHzj0ohsIC4wnB+8+XdpHFEZ5GmtFLmQgkrrkdR0EcEAdd38geClUSj30H8AEIO4OqA==
dependencies:
prop-types "^15.6.2"
preact@^10.0.0-beta.1:
version "10.0.0-beta.1"
resolved "https://registry.yarnpkg.com/preact/-/preact-10.0.0-beta.1.tgz#f7d524668db72ed74e99d447f09600fa4db0b186"
integrity sha512-1uhj3JXOEzEPUof5t/iQW5heEvTOpexwS0FLAjJQfgfT8OCXICyzI2TwkYyFJ+W9q9GsDmhZgFagH2G0akFveQ==
prelude-ls@~1.1.2:
version "1.1.2"