Skip to content

Instantly share code, notes, and snippets.

@ThaddeusJiang
Created August 27, 2018 02:58
Show Gist options
  • Save ThaddeusJiang/2a47942cc49e07f20ee81b55320d78e3 to your computer and use it in GitHub Desktop.
Save ThaddeusJiang/2a47942cc49e07f20ee81b55320d78e3 to your computer and use it in GitHub Desktop.
Parcel is changing my package.json from React >= 16.0.0 to >= 15.0.0

Parcel 新版本爆出 bug。 parcel-bundler/parcel#1634

我是怎么发现的? parcel 无法读取 .env 中环境变量。

対応

バージョン固定

parcel-bundler 18.1
react 16.4.1
react-dom 16.4.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment