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

[Bug Report]: partialBundling generate error directory structures #2097

Open
ErKeLost opened this issue Feb 17, 2025 · 1 comment
Open

[Bug Report]: partialBundling generate error directory structures #2097

ErKeLost opened this issue Feb 17, 2025 · 1 comment
Assignees
Labels
bug Something isn't working v2.0 v2.0 version

Comments

@ErKeLost
Copy link
Member

Steps to reproduce

for example v2-dev branch

  1. examples/refactor-react
  2. pnpm run build
export default defineConfig({
  plugins: [
    react(),
  ],
  compilation: {
    input: {
      index: path.resolve(__dirname, "index.html"),
      base: path.resolve(__dirname, 'base.html'),
      about: path.resolve(__dirname, 'about.html'),
    },
    progress: false,
    persistentCache: false,
    sourcemap: false,
    // output: {
    //   publicPath: "/aaa/",
    //   filename: '[ext]/[name]-[hash].[ext]',
    //   assetsFilename: 'assets/[name]-[hash].[ext]',
    // },
    partialBundling: {
      groups: [
        {
          name: "vendor-react",
          test: ["node_modules/"],
        },
      ],
    },
  },
});

Reproduce link

No response

What is actually happening?

Image

System Info

mac
@ErKeLost ErKeLost added bug Something isn't working v2.0 v2.0 version labels Feb 17, 2025
@wre232114 wre232114 self-assigned this Feb 19, 2025
@wre232114
Copy link
Member

Known issue, will be fixed soon in v2-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v2.0 v2.0 version
Projects
None yet
Development

No branches or pull requests

2 participants