Skip to content

Auto-imports commit breaks compilation in large project #33

@Rigo-m

Description

@Rigo-m

Environment



Reproduction

Can't reproduce for now

Describe the bug

After pulling any bridge-edge build that comes after this commit (nuxt/framework@f5d1d9a) breaks both yarn dev and yarn build builds with the following errors:

Module parse failed: Identifier 'useUIState' has already been declared (91:9) 
File was processed with these loaders:
 * ./node_modules/unplugin/dist/webpack/loaders/transform.js
 * ./node_modules/unplugin/dist/webpack/loaders/transform.js
 * ./node_modules/babel-loader/lib/index.js
 * ./node_modules/vue-loader/lib/index.js
 * ./node_modules/unplugin/dist/webpack/loaders/transform.js
You may need an additional loader to handle the result of these loaders.

Additional context

Happens both in my machine and in netlify build environment

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions