From ec7cd545945dfd267646356392f7d5eb5a0f876e Mon Sep 17 00:00:00 2001 From: Keanu Lee Date: Mon, 16 Apr 2018 15:24:42 -0700 Subject: [PATCH] Update README --- README.md | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/README.md b/README.md index 5222a114..89504d78 100644 --- a/README.md +++ b/README.md @@ -60,23 +60,7 @@ The `polymer build` command builds your Polymer application for production, usin You can configure your `polymer.json` file to create multiple builds. This is necessary if you will be serving different builds optimized for different browsers. You can define your own named builds, or use presets. See the documentation on [building your project for production](https://www.polymer-project.org/2.0/toolbox/build-for-production) for more information. -The Polymer Starter Kit is configured to create three builds using [the three supported presets](https://www.polymer-project.org/2.0/toolbox/build-for-production#build-presets): - -``` -"builds": [ - { - "preset": "es5-bundled" - }, - { - "preset": "es6-bundled" - }, - { - "preset": "es6-unbundled" - } -] -``` - -Builds will be output to a subdirectory under the `build/` directory as follows: +The Polymer Starter Kit is configured to create three builds. These builds will be output to a subdirectory under the `build/` directory as follows: ``` build/ @@ -110,12 +94,3 @@ If running Windows you will need to set the following environment variables: - LAUNCHPAD_CHROME Read More here [daffl/launchpad](https://github.com/daffl/launchpad#environment-variables-impacting-local-browsers-detection) - -### Adding a new view - -You can extend the app by adding more views that will be demand-loaded -e.g. based on the route, or to progressively render non-critical sections of the -application. Each new demand-loaded fragment should be added to the list of -`fragments` in the included `polymer.json` file. This will ensure those -components and their dependencies are added to the list of pre-cached components -and will be included in the build.