-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix log axis and update builds. #40
Conversation
@samussiah I'm sure I've forgotten my original reasoning behind the many different builds, but it seems like we could actually just have the one build that uses the UMD format that you've set up. The extra One tweak you'll need to make is to change the rollup config to not exclude d3 as a global. Rather, we do want it specified as a dependency. Notice the difference between the block at the top of your To test in Node, you can basically just run |
@nbryant I'm pulling my hair out. I can't get rollup to pass On another note I remove \lib and associated scripts in package.json. |
Went with a hot fix which is probably why we had
The hot fix replaces
so I think we're good to go. |
Sorry, I've been really busy and slow to respond. The |
I just tested the current build a bit and (besides the one missing devDependency) everything built as expected and charts seem to render just fine. Just to clarify, the hotfix mentioned above is not included in this PR, and is probably not needed in the future (as noted by @nbryant above). (I do agree that the way aliasing is handled in |
@jwildfire , @nbryant ,
babel
wasn't cooperating with Node 6 (example issue here) in thees5
build so I've made a few additions to the webCharts config:rollup-plugin-babel
andbabel-preset-es2015
todevDependencies
inpackage.json
rollup-config.js
and.babelrc
for thees5
buildAll this just to fix the super minor log axis issue.
Closes #38
Closes #33
Nathan, please let me know if anything looks off. Instead of concatenating the UMD files
open
andclose
to the babel'd output, I'm just specifying theumd
format inrollup.config.js
. Works in Chrome and IE but I don't know how to test in the Node environment.