Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow full hostnames in asset url base, fix #12731 #12732

Merged
merged 2 commits into from Aug 15, 2022

Conversation

jonaskuske
Copy link
Contributor

fix #12731

modeled after https://github.com/vuejs/core/blob/a95554d35c65e5bfd0bf9d1c5b908ae789345a6d/packages/compiler-sfc/src/templateTransformAssetUrl.ts#L120-L130

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

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

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

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

jonaskuske added a commit to jonaskuske/kirbyup that referenced this pull request Aug 9, 2022
jonaskuske added a commit to jonaskuske/kirbyup that referenced this pull request Aug 13, 2022
@yyx990803 yyx990803 merged commit 5c742eb into vuejs:main Aug 15, 2022
johannschopplich pushed a commit to johannschopplich/kirbyup that referenced this pull request Aug 15, 2022
* feat: add support for `kirby serve` w/ HMR plugin

* feat: allow HMR refresh, abort only on HMR reload

* feat: rename module entry to _index.mjs

makes it clearer that module entries are an internal, dev-only feature

* docs: update examples to include serve script

* feat: reload on PHP change in serve mode

* feat: live-reload via CLI arg, CLI help, refactor

* fix: only call server.close() if still listening

* fix: set server.origin to serve assets in dev mode

depends on vuejs/vue#12732

* fix: always pass array to vite-full-reload-plugin

ElMassimo/vite-plugin-full-reload#9

* feat: specify port via cli instead of kirbyup conf

* refactor: update reload-plugin, remove workaround

* feat: make sure index.dev.mjs is gone after build

* feat: set index.dev.mjs location with --out-dir

* docs: update README for serve command

* docs: capitalize "panel"

* refactor: inline getViteConfig() type

* fix: only handle SIGINT, implemented like vite
johannschopplich added a commit to johannschopplich/kirbyup that referenced this pull request Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(compiler-sfc) transformAssetUrl breaks when base includes host
2 participants