-
Notifications
You must be signed in to change notification settings - Fork 84
define guidelines for external formatters and resolvers #131
Comments
This is a good idea. I agree that package name is ugly, but it at least is clear. I'd love to hear a better suggestion. How does |
Ok, let see if someone has a better idea, for now, I have this: https://github.com/caridy/es6-module-transpiler-formatter-system. @ericf suggested Another question on the same lines: I ended up duplicating |
With peer dependencies you could depend on es6-module-transpiler without issues. |
@domenic i thought i heard rumors about peerDeeps maybe not sticking around |
Nah, that'd break too many things. |
aren't they breaking things already? |
@domenic no, I'm not doing that :), we have very bad experience with peerDependencies and shrinkwrap (e.g.: npm/npm#5135), you can get into a mess really fast with the peer dependencies when things move along in separate tracks. Aside from that, many people will have the transpiler installed as global (to use the cli), then the formatters installed locally, or simply have another tool, like |
The transpiler should not be installed globally :( |
@domenic https://github.com/square/es6-module-transpiler#installation, I understand that most people will use a task wrapper instead of using es6-module-transpiler directly, and that's probably what we want to promote. But unfortunately there are a bunch of people in the industry using a dedicated VM to run the build process, in which case having the basic build tools as global speed up the process of doing I'm more interested in the other side of the coin here: are the basic transformations, and abstraction pieces of the transpiler useful to others in a form of a library that only depends on recast? |
es6-module-transpiler-formatter-amd
seems very ugly.The text was updated successfully, but these errors were encountered: