Skip to content

auto-imports process .json by accident #279

@danielroe

Description

@danielroe

Environment

  • Operating System: Darwin
  • Node Version: v14.17.3
  • Nuxt Version: 3-3.0.0
  • Package Manager: Yarn
  • Bundler: Webpack
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Describe the bug

Regexp doesn't have a terminator so matches any file with .js in the filename.

Reproduction

Any import from .json with a relevant string is covered.

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions