Buble, more accurately called Bublé, is a "blazing fast, batteries-included ES2015 compiler" and alternative to Babel
Questions tagged [bublejs]
6 questions
8
votes
1 answer
Use babel for transpiling vue template instead of buble
I'm trying to use @babel/plugin-proposal-optional-chaining so I can do like {{ user?.name || 'Oops' }} in my vue templates. I have added the plugin to my babel.config.js, but it still comes up with a vue-loader error. After some searching it seems…

danielsvane
- 613
- 3
- 8
- 18
3
votes
2 answers
Rollup, Vue and Buble, unexpected token in scss file
I am trying to compile SFC with rollup, using Vue and Buble, following the example suplied in the Vue official page. But I keep getting this error:
src/wrapper.js → dist/chat.min.js...
[!] (plugin buble) SyntaxError: Unexpected token…

Francisco Garrido
- 390
- 4
- 11
1
vote
2 answers
Firebase TypeError: Cannot read property 'ac' of undefined
I use this simple code to authenticate on my web app
firebase.auth().signInWithCustomToken(token).catch(function(error) {
// Handle Errors here.
var errorCode = error.code;
var errorMessage = error.message;
// ...
});
After…

Paulo P. Marinas
- 43
- 7
1
vote
2 answers
Define browser global in rollup/buble
I'm making a Preact SSR application using rollup for bundling and buble for ES2015 transformations. Currently, one of the outside modules I'm bundling into my client build, @horizon/client, uses WebSockets. Currently, because bundling is using Node,…

bren
- 4,176
- 3
- 28
- 43
0
votes
1 answer
buble test failed when trying to npm install
whenever I use npm install it installs all the way till the end, and just as the installation would be complete this error appears,
npm ERR! 436 passing (12s)
npm ERR! 3 pending
npm ERR! 2 failing
npm ERR!
npm ERR! 1) buble
npm ERR! …

user3605722
- 3
- 1
0
votes
1 answer
ES2015 initialization of a module not works
my attempts to build a module wrapping a collection fail
i have something like:
// topic: chess gaming
// file: src/core/Refs.js
const COLS = 'abcdefgh'.split('')
const ROWS = '12345678'.split('')
const ALL = new Map()
class Ref {
constructor…

Hefeust
- 501
- 1
- 5
- 14