We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
output.filename.js
autoExtension
false
System: OS: macOS 15.1 CPU: (12) arm64 Apple M2 Max Memory: 53.33 MB / 32.00 GB Shell: 3.7.1 - /opt/homebrew/bin/fish Browsers: Chrome: 127.0.6533.120 npmPackages: @rslib/core: 0.0.2 => 0.0.2
import { defineConfig } from "@rslib/core"; export default defineConfig({ source: { entry: { index: './src/index.ts', }, }, output: { distPath: { root: './dist' } }, lib: [ { format: "cjs", dts: { bundle: false }, autoExtension: false, output: { filename: { js: '[name].cjs' } } }, { format: "esm", dts: false, }, ], });
expected dist/index.cjs but got dist/index.js
dist/index.cjs
dist/index.js
The text was updated successfully, but these errors were encountered:
Got it, I will fix it.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Version
System: OS: macOS 15.1 CPU: (12) arm64 Apple M2 Max Memory: 53.33 MB / 32.00 GB Shell: 3.7.1 - /opt/homebrew/bin/fish Browsers: Chrome: 127.0.6533.120 npmPackages: @rslib/core: 0.0.2 => 0.0.2
Details
Reproduce link
Reproduce Steps
expected
dist/index.cjs
but gotdist/index.js
The text was updated successfully, but these errors were encountered: