Skip to content
New issue

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

[Feature]: Support same filename "index.css" "index.js" in"bundle": false #199

Open
SoonIter opened this issue Sep 12, 2024 · 2 comments
Open

Comments

@SoonIter
Copy link
Member

What problem does this feature solve?

image
import { pluginReact } from '@rsbuild/plugin-react';
import { type LibConfig, defineConfig } from '@rslib/core';

export default defineConfig({
  source: {
    entry: {
      index: ['./src/**', '!./src/env.d.ts'],
    },
  },
  lib: [
    {
      format: 'esm',
      bundle: false,
    },
  ],
  plugins: [pluginReact()],
});
image

What does the proposed API look like?

fix this

@SoonIter SoonIter changed the title [Feature]: Support "bundle": false same name [Feature]: Support same filename "index.css" "index.js" in"bundle": false Sep 12, 2024
@fi3ework
Copy link
Member

@SoonIter Just test it locally, I think this is resolved now.

@SoonIter
Copy link
Member Author

@SoonIter Just test it locally, I think this is resolved now.

I handle the css file, but .svg and svgr files would meet this case too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants