Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Replace Babel by Bublé #8 #9

Merged
merged 3 commits into from
Aug 17, 2016
Merged

Replace Babel by Bublé #8 #9

merged 3 commits into from
Aug 17, 2016

Conversation

thgh
Copy link

@thgh thgh commented Aug 15, 2016

As Bublé does not offer the same functionality as Babel, I would actually suggest to make a new plugin: rollup-plugin-vue-buble.

EDIT: Actually, there is no need for Babel or Bublé at all. I will split off the Vue component stuff from the Babel/postcss/...

@znck znck merged commit 58140d0 into vuejs:master Aug 17, 2016
@znck
Copy link
Member

znck commented Aug 17, 2016

@thgh The output slightly differs from expected. Expected output in tests should be updated.

      + expected - actual

      -var evens = [2,4,6,8]
      -var odds = evens.map(function (v) { return v + 1; })
      +var evens = [2, 4, 6, 8];
      +var odds = evens.map(function (v) {
      +  return v + 1;
      +});
       var style = { template: "<h1 :id=id @click=hi>hello</h1><input type=text>",
         data: function data() {
      -    return odds
      +    return odds;
         }
      -}
      +};

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants