This module has moved and is now available at @rollup/plugin-commonjs / https://github.com/rollup/plugins/blob/master/packages/commonjs
502
stars
126
forks
source link
Make generated helper file have .js extension in preserveModules mode #373
Closed
creationix closed 5 years ago
I'm using rollup to build files for a custom JS platform that has es module support, but it does require
.js
extensions for all modules.If you use this plugin with
preserveModules
turned on, it generates a file_virtual/_commonjsHelpers
with no extension.