Skip to content

Warnings from vite #902

Description

@EdwardMoyse

Running Phoenix I see:

10:12:41 AM [vite] (client) warning: 
/Users/emoyse/LocalDocuments/phoenix/packages/phoenix-ng/.angular/cache/20.3.19/phoenix-app/vite/deps/chunk-WPC5F2TH.js
2504 |        return import(
2505 |          /* webpackIgnore: true */
2506 |          module
     |          ^^^^^^
2507 |        );
2508 |      });
The above dynamic import cannot be analyzed by Vite.
See https://github.com/rollup/plugins/tree/master/packages/dynamic-import-vars#limitations for supported dynamic import formats. If this is intended to be left as-is, you can use the /* @vite-ignore */ comment inside the import() call to suppress this warning.

  Plugin: vite:import-analysis
  File: /Users/emoyse/LocalDocuments/phoenix/packages/phoenix-ng/.angular/cache/20.3.19/phoenix-app/vite/deps/chunk-WPC5F2TH.js?v=e20b3a1d

I've not looked into this at all yet, so maybe it's very trivial to fix (I'm not even honestly sure where Vite fits in!) but I wanted to open a ticket so we don't forget to fix this.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions