rslib icon indicating copy to clipboard operation
rslib copied to clipboard

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

Open SoonIter opened this issue 1 year ago • 0 comments

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 avatar Sep 12 '24 10:09 SoonIter