Skip to content

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

@SoonIter

Description

@SoonIter

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions