-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: Remove unused babel-polyfill (#737)
With Node v8+ we no longer need babel-polyfill for Webpack.
- Loading branch information
Showing
5 changed files
with
10 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -306,14 +306,14 @@ Development Setup | |
----------------- | ||
1. Install Node v8.9.4 or higher. | ||
2. Install yarn package manager `https://yarnpkg.com/en/docs/install`. Alternatively, you can replace any `yarn` command with `npm`. | ||
2. Fork the upstream repo `https://github.com/box/box-content-preview`. | ||
3. Clone your fork locally `git clone [email protected]:[YOUR GITHUB USERNAME]/box-content-preview.git`. | ||
4. Navigate to the cloned folder `cd box-content-preview` | ||
5. Add the upstream repo to your remotes `git remote add upstream [email protected]:box/box-content-preview.git`. | ||
6. Verify your remotes are properly set up `git remote -v`. You should pull updates from the Box repo `upstream` and push changes to your fork `origin`. | ||
7. Install dependencies `yarn install` | ||
8. Test your first build! `yarn run build` | ||
9. To automatically rsync files after a Webpack build, add a build/rsync.json file with a `location` field. This file should look like: | ||
3. Fork the upstream repo `https://github.com/box/box-content-preview`. | ||
4. Clone your fork locally `git clone [email protected]:[YOUR GITHUB USERNAME]/box-content-preview.git`. | ||
5. Navigate to the cloned folder `cd box-content-preview` | ||
6. Add the upstream repo to your remotes `git remote add upstream [email protected]:box/box-content-preview.git`. | ||
7. Verify your remotes are properly set up `git remote -v`. You should pull updates from the Box repo `upstream` and push changes to your fork `origin`. | ||
8. Install dependencies `yarn install` | ||
9. Test your first build! `yarn run build` | ||
10. To automatically rsync files after a Webpack build, add a build/rsync.json file with a `location` field. This file should look like: | ||
``` | ||
{ | ||
"location": "YOUR_DESIRED_RSYNC_LOCATION_HERE" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1054,7 +1054,7 @@ babel-plugin-transform-strict-mode@^6.24.1: | |
babel-runtime "^6.22.0" | ||
babel-types "^6.24.1" | ||
|
||
[email protected], babel-polyfill@^6.23.0: | ||
[email protected]: | ||
version "6.26.0" | ||
resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153" | ||
dependencies: | ||
|