Created
February 8, 2016 03:34
-
-
Save jehiah/5e2d2eb4bf9a827406fc to your computer and use it in GitHub Desktop.
reproducible steps for https://github.com/d3/d3-queue/issues/55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as d3 from "d3"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "rollup_await_error", | |
"version": "0.1.0", | |
"dependencies": { | |
"d3": "^4.0.0-alpha.14" | |
}, | |
"devDependencies": { | |
"babel": "^6.5.1", | |
"babel-preset-es2015-rollup": "^1.1.1", | |
"rollup": "^0.25.3", | |
"rollup-plugin-babel": "^2.3.9", | |
"rollup-plugin-json": "^2.0.0", | |
"rollup-plugin-npm": "^1.4.0" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import babel from 'rollup-plugin-babel'; | |
import npm from 'rollup-plugin-npm'; | |
import json from "rollup-plugin-json"; | |
export default { | |
entry: "main.js", | |
dest: "out.js", | |
format: 'cjs', | |
plugins: [ npm({ jsnext: true, main: true }), | |
json(), | |
babel() ] | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
npm install rollup --save-dev | |
npm install babel --save-dev | |
npm install babel-preset-es2015-rollup --save-dev | |
npm install rollup-plugin-npm --save-dev | |
npm install rollup-plugin-babel --save-dev | |
npm install rollup-plugin-json --save-dev | |
npm install d3@next --save | |
./node_modules/.bin/rollup -c rollup.config.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment