angular-cn/packages/service-worker/config
George Kalpakas 6c2c95851a fix(service-worker): let `*` match 0 characters in globs (#23339)
In [glob patterns][1], the `*` wildcard is supposed to match 0 or more
characters.

For reference:
- This is also how `*` works in other implementations, such as
  `.gitignore` files or Firebase hosting config.
- Some popular JS implementations (e.g. [minimatch][2], [micromatch][3])
  work differently, matching 1 or more character (but not 0).

This commit "fixes" the minimal glob support in
`@angular/service-worker` to allow `*` to also match 0 characters.

[1]: https://en.wikipedia.org/wiki/Glob_%28programming%29
[2]: https://www.npmjs.com/package/minimatch
[3]: https://www.npmjs.com/package/micromatch

PR Close #23339
2018-04-13 13:13:36 -07:00
..
src fix(service-worker): let `*` match 0 characters in globs (#23339) 2018-04-13 13:13:36 -07:00
test fix(service-worker): let `*` match 0 characters in globs (#23339) 2018-04-13 13:13:36 -07:00
testing fix(service-worker): several misc fixes for corner cases 2017-10-05 13:27:31 -07:00
BUILD.bazel build: expose flatModuleOutFile option on ng_module (#22814) 2018-03-20 13:28:57 -07:00
index.ts feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
package.json feat: update the package output of build.sh to APF v6 (#22808) 2018-03-18 09:33:51 -07:00
public_api.ts feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
rollup.config.js feat: update the package output of build.sh to APF v6 (#22808) 2018-03-18 09:33:51 -07:00
tsconfig-build.json build(service-worker): set skipTemplateCodegen for build (#19875) 2017-10-23 19:31:42 -04:00