3 ms·
Maybe it is an anti-pattern because it alters the default - I mean, I guess it means it's processing node modules through the transpiler unnecessarily as well?
by untog 11y ago
Maybe it is an anti-pattern because it alters the default - I mean, I guess it means it's processing node modules through the transpiler unnecessarily as well? I can't say I've experienced a performance hit myself.
- lobster_johnson 11y agoBabel doesn't touch node_modules only you explicitly include it. Browserify lets you add this to an NPM package's package.json: "browserify": { "transform": [ "babelify" ] } ...which is great, but Babel doesn't have anything like it for server-side stuff.