John Haley

Results 42 comments of John Haley

It looks like it is using [ES6 import/export syntax](https://github.com/ant-design/ant-design/blob/master/components/button/index.tsx) And according to https://github.com/parcel-bundler/parcel/issues/1584#issuecomment-403265873 that import shouldn't work as it is not to spec.

So I did some more research on what was happening and came across some madness. # How Import is breaking I'm using `"module": "es6"` in my `bsconfig.json` which is outputting...

I always just add this in with every project 😁 Big 👍 to this. I can open a PR if you have an idea for where to put this stuff.

@benjie I'd like to confirm what you were suspecting and let you know that when we tested it we _did_ run into some issues. It seemed like we got random...

It won't be anytime soon but that is something that I'm looking to tackle eventually :)

@hardog can you post your code? It's hard to know what's going on from the description of the problem. Thanks!

@rafaelgieschke thanks again. Same as the #1254 with adding tests to ensure functionality.

@rmedaer Thanks for the PR! Would you mind writing a test for this function so we can ensure that it works now and in the future please?

@webjay can you rebase this on master please? It should build/greenlight after that.

Why `js/lib/` -> `lib/` and not `lib/` -> `dist/` like we do now?