Babelify throws ParseError on import a module from node_modules
That is how Browserify transforms work, transforms only have an effect directly in the module that is being referenced. If you want a module in node_modules to have a transform, you’d need to add a package.json to that module and add babelify as a transform for that module too. e.g. “browserify”: { “transform”: [ “babelify” … Read more