Skip to content

Commit

Permalink
Merge pull request #43 from Rich-Harris/gh-40-alt
Browse files Browse the repository at this point in the history
target node 4
  • Loading branch information
Rich-Harris authored Nov 18, 2017
2 parents 660d863 + 7824088 commit 873bb94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ const config = {
json(),
commonjs(),
buble({
target: {
node: 4
},
include: [
'src/**',
'node_modules/acorn-object-spread/**',
Expand Down
2 changes: 1 addition & 1 deletion src/program/types/VariableDeclaration.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default class VariableDeclaration extends Node {
? declarator.init.name
: declarator.findScope(true).createIdentifier('ref');

let c = declarator.start;
c = declarator.start;

let statementGenerators = [];

Expand Down

0 comments on commit 873bb94

Please sign in to comment.