GitShow/yyx990803/buble
yyx990803

buble

a fork of buble with some vue-specific hacks, used in vue-template-es2015-compiler

by yyx990803
Star on GitHubForknpm

JavaScript

59 stars17 forks30 contributorsQuiet · 4y agoSince 2016MIT

Meet the team

See all 30 on GitHub →
Rich-Harris
Rich-Harris539 contributions
adrianheine
adrianheine84 contributions
kzc
kzc49 contributions
yyx990803
yyx99080332 contributions
TrySound
TrySound24 contributions
marijnh
marijnh9 contributions
nathancahill
nathancahill4 contributions
trueadm
trueadm3 contributions

Languages

View on GitHub →
JavaScript99.9%
Shell0.1%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 5 in progress · Last activity 4y ago
See all on GitHub →
qdlike
babel-plugin-transform-vue-jsxOpenIssue

babel-plugin-transform-vue-jsx 好像不支持啊

qdlike · 4y ago
LukeShu
Set .source to the full source when we emit an error using getSnippet.OpenPR

The yyx990803/buble fork of Bublé exists mostly for Vue template compilers to call it over generated source code. When it emits an error, that error includes .loc : the location in the generated source .snippet : a snippet of the generated source However, because the user doesn't have a copy of the generated code, .loc is useless to them, and if .snippet doesn't quite give the context that they need to identify the problem, then they are out of luck. Sure, we could have the caller (vue-template-es2015-compiler, or its callers: vue-loader/vueify/rollup-plugin-vue) catch the error, inject it with .source (since it has the source passed to buble), and then throw it again. But let's solve it closer to the root, and reduce the possibility of a mixup. This also allows callers to do things like wrap our errors, replacing our generated with a -generated . is OK, but on generated code (which is particularly gross), just "OK" often isn't good enough. Let's give callers a chance to try to improve it. babel-code-frame offers syntax highlighting, which makes things like missing quotes way easier to spot. It doesn't have to be for quality reasons either; if all other error code snippets are formatted one way, let's give the caller a chance to format ours the same way, for UI consistency.

LukeShu · 5y ago
UncleBill
add an option .allowedGlobals to extend globalsOpenPR

for https://github.com/vuejs/vue-template-es2015-compiler/issues/17

UncleBill · 6y ago
Structured data for AI agents

Repository: yyx990803/buble. Description: a fork of buble with some vue-specific hacks, used in vue-template-es2015-compiler Stars: 59, Forks: 17. Primary language: JavaScript. Languages: JavaScript (99.9%), Shell (0.1%). License: MIT. Open PRs: 5, open issues: 3. Last activity: 4y ago. Community health: 42%. Top contributors: Rich-Harris, adrianheine, kzc, yyx990803, TrySound, marijnh, nathancahill, trueadm, trusktr, maranomynet and others.

·@ofershap

Replace github.com with gitshow.dev