Usage npm install npm run build Reproduce Steps change type: "module" npm run build packemon will change type to "commonjs" milesj/packemon#133 (comment)