Skip to content

Commit 052b3e5

Browse files
fix: updated rollup code - hopefully fixing the bundling issue
1 parent 84cf78b commit 052b3e5

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

Diff for: .babelrc

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"presets": [
3-
"es2015-rollup"
4-
]
3+
["es2015", { "modules": false }]
4+
],
5+
"plugins": ["external-helpers"]
56
}

Diff for: package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@
1111
"url": "https://github.com/ColinEberhardt/json-transforms"
1212
},
1313
"devDependencies": {
14-
"babel-preset-es2015-rollup": "^1.1.1",
14+
"babel-plugin-external-helpers": "^6.8.0",
15+
"babel-preset-es2015": "^6.14.0",
1516
"eslint": "^2.2.0",
1617
"eslint-config-standard": "^5.1.0",
1718
"eslint-plugin-promise": "^1.3.2",
1819
"eslint-plugin-standard": "^1.3.2",
1920
"jasmine": "^2.4.1",
20-
"rollup": "^0.33.0",
21+
"rollup": "^0.34.12",
2122
"rollup-plugin-babel": "^2.6.1",
2223
"semantic-release": "^4.3.5"
2324
},

Diff for: rollup.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
entry: 'index.js',
55
moduleName: 'jsont',
66
format: 'umd',
7-
plugins: [ babel() ],
7+
plugins: [babel()],
88
dest: 'build/json-transforms.js',
99
globals: {
1010
jspath: 'JSPath'

0 commit comments

Comments
 (0)