Skip to content

fix: pwa-plugin avoid generating manifest when path is an URL - #5089

Merged
haoqunjiang merged 1 commit into
vuejs:devfrom
tkint:dev
Jan 28, 2020
Merged

fix: pwa-plugin avoid generating manifest when path is an URL#5089
haoqunjiang merged 1 commit into
vuejs:devfrom
tkint:dev

Conversation

@tkint

@tkint tkint commented Jan 17, 2020

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Underlying tools
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Other information:

This PR is a bug fix which occure when you specify an URL inside the config's manifestPath option.

The bug is not blocking the vue-cli-service build command, but it throws a misleading error because it attemps to create a directory for the manifest, which is impossible when it is a full URL.

@tkint
tkint marked this pull request as ready for review January 17, 2020 17:47
Comment thread packages/@vue/cli-plugin-pwa/lib/HtmlPwaPlugin.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants