micmro / PerfCascade

Responsive, SVG based HAR waterfall viewer
https://micmro.github.io/PerfCascade
MIT License
276 stars 51 forks source link

Adapt module for ES6 #260

Closed vic0707 closed 5 years ago

vic0707 commented 5 years ago

Following this discussion https://github.com/micmro/PerfCascade/issues/3, we use this module and would like to be able to use it with a SSR react application.

This change would be a first step in this direction as the current setup fails when we try to import the module in node. As you can see here https://stackoverflow.com/questions/42708484/what-is-the-module-package-json-field-for this would allow node to use the main field and ES6-aware tools would use the module prop.

micmro commented 5 years ago

Released with 2.6.3