1.0.3 • Published 12 months ago

tsup-fix-cjs-exports v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

tsup-fix-cjs-exports

This is a tsup plugin that convert exports.default to modules.exports for CommonJS modules.

Usage

npm i tsup-fix-cjs-exports -D
// tsup.config.js

import fixCjsExports from 'tsup-fix-cjs-exports'

export default defineConfig({
    // ... other tsup config
    plugins: [fixCjsExports()],
})

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue and describe your request.

Author

tsup-fix-cjs-exports © Mahmoud Ibrahiam, Released under the MIT License.

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago