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

isModuleDeclaration warning when building #997

Open
1 task done
bfabio opened this issue Oct 10, 2023 · 0 comments
Open
1 task done

isModuleDeclaration warning when building #997

bfabio opened this issue Oct 10, 2023 · 0 comments

Comments

@bfabio
Copy link
Member

bfabio commented Oct 10, 2023

Does a discussion already exist on the topic you are interested in, or on a similar topic?

  • I verified and it doesn't exist

What

When building the site, there's a warning:

$ npm run build
[...]
warn `isModuleDeclaration` has been deprecated, please migrate to `isImportOrExportDeclaration`
    at isModuleDeclaration (/home/fabio/dev/designers.italia.it/node_modules/@babel/types/lib/validators/generated/index.js:2740:35)
    at PluginPass.Program (/home/fabio/dev/designers.italia.it/node_modules/babel-plugin-lodash/lib/index.js:102:44)

Why

It is a deprecation warning and should be fixed.

Context

No response

More

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: Todo
Development

No branches or pull requests

3 participants