Skip to content

Commit cd1a14d

Browse files
author
Jake Johnson
committed
fix: js supporting files
add quotes in .babelrc.mustache, so it generates valid json add missing dev dependency in package.mustache, so babel can compile tests
1 parent 03ad1d6 commit cd1a14d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/main/resources/handlebars/javascript/.babelrc.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"plugins": [
33
["babel-plugin-transform-builtin-extend", {
4-
globals: ["Error", "Array"]
4+
"globals": ["Error", "Array"]
55
}]
66
],
77
"presets": ["env", "stage-0"]

src/main/resources/handlebars/javascript/package.mustache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
},
1818
"devDependencies": {
1919
"babel-core": "6.26.0",
20+
"babel-plugin-transform-builtin-extend": "^1.1.2",
2021
"babel-preset-env": "^1.6.1",
2122
"babel-preset-stage-0": "^6.24.1",
2223
"expect.js": "~0.3.1",

0 commit comments

Comments
 (0)