Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 678ff57

Browse files
authored
Merge release-v0.1.3 into master
2 parents 95ff45b + fb7ed3b commit 678ff57

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.1.3 (May 9, 2018)
2+
- Ensure we are shipping ES5 everywhere.
3+
14
## v0.1.2 (April 3, 2018)
25
- Update npm package to ship with three builds: `UMD`, `CommonJS` and `ES2015`
36

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "commercecloud-ocapi-client",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "An ES6 JavaScript Client for Salesforce Open Commerce API",
55
"license": "SEE LICENSE IN LICENSE",
66
"main": "dist/commercecloud-ocapi-client.cjs.js",
@@ -20,7 +20,7 @@
2020
"lint:fix": "npm run lint:js -- --fix",
2121
"test": "NODE_ENV=test mocha --require babel-core/register $(find test/api -name '*.spec.js')",
2222
"prebuild": "npm run lint",
23-
"build": "rollup -c",
23+
"build": "NODE_ENV=production rollup -c",
2424
"prepack": "npm run build"
2525
},
2626
"dependencies": {

rollup.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ export default [{
2222
browser: true,
2323
}),
2424
babel({
25-
exclude: ['node_modules/**'],
26-
externalHelpers: true
25+
exclude: ['node_modules/**']
2726
})
2827
]
2928
},
@@ -37,4 +36,9 @@ export default [{
3736
format: 'es'
3837
}],
3938
external: ['superagent', 'querystring'],
39+
plugins: [
40+
babel({
41+
exclude: ['node_modules/**']
42+
})
43+
]
4044
}]

0 commit comments

Comments
 (0)