Open SerkanSipahi opened 7 years ago
@SerkanSipahi this would make a nice plugin for AssetGraph actually - https://gitter.im/assetgraph/assetgraph.
@guybedford yes make sense, something like this: assetGraph.compileScriptModuleWithFallback ?
exactly!
@SerkanSipahi Babel is a JavaScript compiler not an HTML compiler though. So that's why I'd suggest integration into a general HTML compiler like assetgraph.
@guybedford oh sorry i have accidentally deleted your my last comment :(
@guybedford you're right, it make more sense in assetGraph. ! I didnt know assetGraph, thanks for the tip :)
Suggestion
in:
out (compiled code):
.babelrc
How to?
Why with a babel-plugin?
@guybedford what do you think?