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(compiler-dom): ensure global build filename matches the one defined in package.json (close #3181) #3185

Merged
merged 1 commit into from
Feb 7, 2021

Conversation

LinusBorg
Copy link
Member

package.json currently states:

  "unpkg": "dist/compiler-dom/global.js",
  "jsdelivr": "dist/compiler-dom/global.js",

but the filename in /dist is compiler-dom.global.js

this PR adjusts the names in package.json

closes #3181

@LinusBorg LinusBorg added the 🧹 p1-chore Priority 1: this doesn't change code behavior. label Feb 7, 2021
@github-actions
Copy link

github-actions bot commented Feb 7, 2021

Size report

Path Size
vue.global.prod.js 40.56 KB (0%)
runtime-dom.global.prod.js 26.95 KB (0%)
size-check.global.prod.js 16.31 KB (0%)

@LinusBorg LinusBorg added 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. and removed 🧹 p1-chore Priority 1: this doesn't change code behavior. labels Feb 7, 2021
@LinusBorg LinusBorg added this to Planned, might need fresh review in Next Patch Feb 7, 2021
Next Patch automation moved this from Planned, might need fresh review to Approved Feb 7, 2021
@LinusBorg LinusBorg changed the title fix(comiler-dom): ensure global build filename matches the one defined in package.json (close #3181) fix(compiler-dom): ensure global build filename matches the one defined in package.json (close #3181) Feb 7, 2021
@LinusBorg LinusBorg merged commit 96b6433 into master Feb 7, 2021
Next Patch automation moved this from Approved to Done Feb 7, 2021
@LinusBorg LinusBorg deleted the fix-compiler-dom-global-filename branch February 7, 2021 13:40
yyx990803 added a commit that referenced this pull request Feb 23, 2021
@@ -5,8 +5,8 @@
"main": "index.js",
"module": "dist/compiler-dom.esm-bundler.js",
"types": "dist/compiler-dom.d.ts",
"unpkg": "dist/compiler-dom/global.js",
"jsdelivr": "dist/compiler-dom/global.js",
"unpkg": "dist/compiler-dom/compiler-dom.global.js",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be dist/compiler-dom.global.js

Fixed in fcb6c89

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, thanks for spotting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot find "/dist/compiler-dom/global.js" in @vue/compiler-dom@3.0.5
3 participants