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

Empty JS chunk created for resource route #9055

Open
jakearchibald opened this issue Mar 14, 2024 · 0 comments
Open

Empty JS chunk created for resource route #9055

jakearchibald opened this issue Mar 14, 2024 · 0 comments

Comments

@jakearchibald
Copy link

jakearchibald commented Mar 14, 2024

Reproduction

From the base vite project: jakearchibald/remix-empty-js-bug@4b1a7cf

Then npm run build

System Info

System:
    OS: macOS 14.3
    CPU: (8) arm64 Apple M1 Pro
    Memory: 82.94 MB / 16.00 GB
    Shell: 3.7.0 - /opt/homebrew/bin/fish
  Binaries:
    Node: 20.10.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.4 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 122.0.6261.128
    Chrome Canary: 124.0.6357.0
    Edge: 122.0.2365.80
    Safari: 17.3
    Safari Technology Preview: 17.4
  npmPackages:
    @remix-run/dev: ^2.8.1 => 2.8.1
    @remix-run/node: ^2.8.1 => 2.8.1
    @remix-run/react: ^2.8.1 => 2.8.1
    @remix-run/serve: ^2.8.1 => 2.8.1
    vite: ^5.1.0 => 5.1.6

Used Package Manager

npm

Expected Behavior

.

Actual Behavior

An empty manifest_.json_-l0sNRNKZ.js is created as an asset as part of the build. It doesn't seem to be used anywhere, although it's referenced in the remix manifest.

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