Skip to content

assets in css include '__NUXT_BASE__' prefix in production build #13250

@sewalsh

Description

@sewalsh

Environment


  • Operating System: Darwin
  • Node Version: v17.3.1
  • Nuxt Version: 3.0.0-27375427.d07d572
  • Package Manager: yarn@3.2.0-rc.10
  • Bundler: Vite
  • User Config: publicRuntimeConfig, privateRuntimeConfig, buildModules, css, vite, unocss
  • Runtime Modules: -
  • Build Modules: @vueuse/nuxt@7.5.3, unplugin-icons/nuxt, @unocss/nuxt@0.22.4

Reproduction

...

Describe the bug

I suspect this may be related to nuxt/framework#2655.

It only affects yarn build.

@font-face {
    font-family: "SpaceGroteskLight";
    src: url("assets/fonts/SpaceGrotesk-Light.ttf");
    font-display: swap;
}

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions