Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Added web build command#407

Merged
EvanBacon merged 28 commits intomasterfrom
@evanbacon/webpack-config/updated-treeshaking
Mar 12, 2019
Merged

Added web build command#407
EvanBacon merged 28 commits intomasterfrom
@evanbacon/webpack-config/updated-treeshaking

Conversation

@EvanBacon
Copy link
Copy Markdown
Contributor

@EvanBacon EvanBacon commented Mar 6, 2019

Why

Running expo build:web will generate static files.

How

  • Moved WebpackDeepScopeAnalysisPlugin to common
  • Removed vendoring
  • Removed custom optimization in favor of webpack defaults
  • Removed terser

@EvanBacon EvanBacon self-assigned this Mar 6, 2019
@EvanBacon EvanBacon requested a review from fson March 6, 2019 20:13
EvanBacon added a commit to expo/expo that referenced this pull request Mar 6, 2019
EvanBacon added a commit to expo/expo that referenced this pull request Mar 6, 2019
* Update AppEntry.template.js

* Fixed RNWeb treeshaking

* Fixed emitter for web

* Added unavailability to requireNativeViewManager

* Fixed camera importing all of React Native

* Update AppEntry.template.js

* Update webpack.prod.js

* Update index.js

* Updated adapter for web

* Fixed symlinks

* updated facebook ads

* Moved DeepScope to common

* Added script to generate lazy and non-lazy entry

* Delete Brightness.ts

* Update DangerZone.ts

* Moved to #3618

* Reverted file-system

* reverted font

* Update package.json

* Moved side-effects

* Reverted core.js

* removed `web:dev` command in favor of `expo start`

* Moved webpack changes to expo/expo-cli#407

* Update AppEntry.template.js

* Update yarn.lock
@EvanBacon EvanBacon changed the title Updated webpack-config to better support treeshaking Added web build command Mar 6, 2019
@EvanBacon EvanBacon mentioned this pull request Mar 8, 2019
* Updated stats promise
Copy link
Copy Markdown
Contributor

@fson fson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good. Added just a few things to address before this can be merged.

Copy link
Copy Markdown
Contributor

@fson fson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@EvanBacon EvanBacon merged commit af0eee1 into master Mar 12, 2019
@EvanBacon EvanBacon deleted the @evanbacon/webpack-config/updated-treeshaking branch March 12, 2019 10:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants