Skip to content

Commit

Permalink
Merge pull request #3383 from armujahid/patch-2
Browse files Browse the repository at this point in the history
docs: update bundle-manifest's url in Readme
  • Loading branch information
usergenic authored Apr 2, 2019
2 parents e38aadc + 34c7657 commit 14119ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bundler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ polymer-bundler as a library has two exported function.
- `rewriteUrlsInTemplates`: Fix URLs found inside `<style>` tags and certain element attributes (`action`, `assetpath`, `href`, `src`, and `style`) when inside `<template>` tags. This may be necessary to bundle some Polymer 1.x projects with components that ues relative image URLs in their styles, as Polymer 1.x did not use the `assetpath` of `<dom-module>` to resolve URLs in styles like Polymer 2.x does. Defaults to `false`.
- `sourcemaps`: Honor (or create) sourcemaps for inline scripts. Defaults to `false`.
- `stripComments`: Remove all HTML comments, except for `@license`, which are merely de-duplicated, server-side include directives like `<!--# ... -->`, and other important comments of the form `<!--! ... -->`. Defaults to `false`.
- `strategy`: A function that takes an array of bundles and returns an array of bundles. There are a strategy factory functions available in [bundle-manifest](https://github.com/Polymer/polymer-bundler/blob/master/src/bundle-manifest.ts).
- `urlMapper`: A function that takes bundles and returns a Map of URLs to bundles. This determines the location of generated bundles. There are URL mapper factory functions available in [bundle-manifest](https://github.com/Polymer/polymer-bundler/blob/master/src/bundle-manifest.ts)
- `strategy`: A function that takes an array of bundles and returns an array of bundles. There are a strategy factory functions available in [bundle-manifest](https://github.com/Polymer/tools/blob/master/packages/bundler/src/bundle-manifest.ts).
- `urlMapper`: A function that takes bundles and returns a Map of URLs to bundles. This determines the location of generated bundles. There are URL mapper factory functions available in [bundle-manifest](https://github.com/Polymer/tools/blob/master/packages/bundler/src/bundle-manifest.ts)

`.generateManifest()` takes a collection of entrypoint URLs and promises a `BundleManifest` which describes all the bundles it will produce.

Expand Down

0 comments on commit 14119ae

Please sign in to comment.