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

TransformOptions are not passed to LoaderPlugin #19412

Closed
stenet opened this issue Mar 3, 2023 · 0 comments · Fixed by #19414
Closed

TransformOptions are not passed to LoaderPlugin #19412

stenet opened this issue Mar 3, 2023 · 0 comments · Fixed by #19414

Comments

@stenet
Copy link
Contributor

stenet commented Mar 3, 2023

Environment


  • Operating System: Windows_NT
  • Node Version: v18.12.1
  • Nuxt Version: 3.2.2
  • Nitro Version: 2.2.2
  • Package Manager: npm@8.18.0
  • Builder: vite
  • User Config: extends, tip, runtimeConfig, app, vite, imports
  • Runtime Modules: -
  • Build Modules: -

Reproduction

The component/transform options are not passed to the loaderPlugin, although it looks like they (see screenshot of loader.ts below) should.

nuxt.config.ts

export default defineNuxtConfig({
  components: {
    transform: {
      include: [
        /MyComponents/
      ],
      exclude: []
    }
  },
})

module.ts
image

loader.ts
image

Describe the bug

See reproduction

Additional context

No response

Logs

No response

@stenet stenet changed the title TransformOptions are not passed in LoaderPlugin TransformOptions are not passed to LoaderPlugin Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant