Skip to content

bug: (node:4070) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension. (Use node --trace-warnings ... to show where the warning was created) #79

@snakeshift

Description

@snakeshift

What version of FlyonUI are you using?

v2.0.0

Which browsers are you seeing the problem on?

All browsers

Reproduction URL

https://codesandbox.io/p/devbox/inspiring-rhodes-ff3hw9?workspaceId=ws_Dd6qoRmec96FvmKpLpdPwh

Describe your issue

I use FlyonUI + Vite.
This warning is happened when I read @plugin "flyonui" in style.css.

(node:5354) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
Image

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