Commit Graph

23 Commits

Author SHA1 Message Date
David Kubeš 88313fd885 refactor: remove redundant Webpack version checks (#6638) 2021-08-31 15:43:18 +08:00
Thomas Citharel da2c715544 fix(pwa): Replace closeTag parameter with voidTag for HtmlWebpackPlugin (#6518)
HtmlWebpackPlugin has a voidTag parameter that needs to be set to true
so that both <link> and <meta> are treated as void elements (with no
contents). The closeTag parameter doesn't exist.

https://github.com/jantimon/html-webpack-plugin/blob/570f735c237d4a03a65622cfe64652431aca4132/typings.d.ts#L280
https://html.spec.whatwg.org/multipage/syntax.html#void-elements

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-09 11:04:18 +08:00
Haoqun Jiang a1023adfad fix: fix webpack 4 compatibility of HtmlPwaPlugin 2021-02-18 15:32:14 +08:00
Haoqun Jiang c3284f6595 style: fix lint issues 2021-02-18 15:00:50 +08:00
Adam Williams 9373a2295b fix(cli-plugin-pwa): webpack5 warning for emitting manifest.json (#6277) 2021-02-18 14:45:45 +08:00
Maurici Abad Gutierrez 3f82947c0d feat: support SVG favicon (#6198) 2021-01-19 15:18:24 +08:00
Jakub Niewczas ffc0686e89 fix: fix pwa installability by adding fetch event listener to noopServiceWorker (#5327)
currently google chrome prevents installing pwa due to the error: “Page does not work offline”. The reason is service worker has to listen to fetch event. It doesnt have to do anything so the listener can be an empty function, but it has to be declared
2021-01-06 12:28:17 +08:00
Haoqun Jiang 2dbe0be840 feat!: support and use webpack 5 as default (#6060) 2020-12-03 15:16:35 +08:00
GabrielGMartinsBr 34b58c0f62 fix: allow turning off theme color tags (#5820)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-08-31 09:52:39 +08:00
Janis Pritzkau c8e64507ba fix(pwa): null check icon paths (#5087) 2020-03-19 21:23:06 +08:00
Thomas Kint b12574d2c0 fix: pwa-plugin avoid generating manifest when path is an URL (#5089) 2020-01-28 17:01:39 +08:00
Haoqun Jiang 0f377bd31d feat: upgrade to eslint 6 (#4933)
* feat: scaffold projects with eslint 6

* style: eslint fix

* refactor: do not use hard-coded ecmaVersion, use babel-eslint for now

* fix: upgrade to @vue/eslint-config-standard

* style: continue fix lint errors

* chore: upgrade to eslint-plugin-vue@^6.1.2

* refactor: use `ecmaVersion: 2020` for dynamic import syntax support

* test: fix baseESLintConfig

* chore: also update yarn.lock to fix CI caches

* chore: update lockfile again, fix babel regressions

* test: nightwatch tests should fail if lint errors occur

* chore: update the lockfile (again), fixing a bug in airbnb config
2020-01-14 10:13:54 +08:00
Daniel Bächtold 7e54d935f4 feat: adaptive icon support with maskable icons (#5053) 2020-01-13 19:20:05 +05:30
Thomas Kint 6c4a0bf4f8 feat: allow use of full url for pwa manifest and icons (#4736) 2019-11-12 22:33:18 +08:00
Luiz Victor Linhares Rocha 49725b4c04 feat(HtmlPwaPlugin): adds 'manifestCrossorigin' option (#3939)
close #3933
2019-05-25 13:58:54 +08:00
Haoqun Jiang 38c74c1542 chore: fix lint errors 2019-05-21 23:26:34 +08:00
毛呆 9c0bf4ce26 feat!: manifest.json should be generated by cli-plugin-pwa (#2981)
BREAKING CHANGE:
For those who changed their `manifest.json` in `public/` directory, their changes will be ignored.
2019-04-30 15:00:42 +08:00
Stephen Lam e393be733d feat(generator): allow plugins to modify how configs are extracted (#1130)
* feat(generator): allow plugins to modify how configs are extracted

* refactor(cli): change addConfigTransform parameters

Allow plugin author to set config 'descriptions' instead of implementing their own transform functions.

* fix(cli): fix missed issues from changing types from array to set

* fix: use reserved config transforms to check in API

* fix: lines dedupe
2018-07-11 19:52:57 +02:00
François Risoud 050fe2a4cd feat(pwa): added options and updated readme (#1752)
* added options and updated readme

* moved `manifest` out of `iconPaths` options

* changed `iconsVersion` to `assetsVersion`
2018-07-11 01:36:10 +02:00
Evan You 6d1716e875 fix: pwa plugin compat with webpack 4 2018-05-08 17:12:17 -04:00
Evan You 6b865dbc85 refactor: require Node 8
BREAKING CHANGE: @vue/cli-service and all plugins now require Node version 8+.
2018-04-30 18:35:36 -04:00
Jinesh Shah 36f954bfc9 feat(pwa): Make injected meta tags configurable and change defaults (#961)
This change proposes 2 things:

1. Make apple-mobile-web-app-capable and apple-mobile-web-app-status-bar-style configurable
2. Change the defaults to "no" and "default", respectively
2018-04-25 15:25:20 -04:00
Evan You 902f6c0fb3 feat: pwa 2018-01-09 17:45:41 -05:00