Skip to content

Commit

Permalink
Remove 6to5 runtime dependence
Browse files Browse the repository at this point in the history
- Since we don't use ES6 features requiring polyfills,
the default compilation is enough.
- Add `es6-promise` for Promises support
  • Loading branch information
pascalduez committed Feb 13, 2015
1 parent 4ef2d4c commit 198d986
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dist: $(DIST)

dist/%.js: src/%.js
mkdir -p $(@D)
6to5 --optional selfContained $< -o $@
6to5 $< -o $@

min: assets/js/main.min.js

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
],
"main": "dist",
"dependencies": {
"6to5-runtime": "^3.2.1",
"chroma-js": "^0.6.3",
"es6-denodeify": "^0.1.0",
"es6-promise": "^2.0.1",
"extend": "^2.0.0",
"fs-extra": "^0.16.3",
"html-minifier": "^0.7.0",
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import chroma from 'chroma-js';
import def from '../default';
import { Promise } from 'es6-promise';
import denodeify from 'es6-denodeify';
import extend from 'extend';
import fs from 'fs';
Expand Down

0 comments on commit 198d986

Please sign in to comment.