@nuxt/browserconfig - Change the static dir

LuXDAmore
0
LuXDAmore
commented 7 months ago

Version

v2.10.2

Reproduction link

https://github.com/nuxt-community/modules/blob/master/packages/browserconfig/index.js

Steps to reproduce

path.resolve(this.options.srcDir, 'static', browserconfigFileName) and content: '/' + browserconfigFileName, these paths should be taken from the Dir property.

What is expected ?

Put the file (and the path) in the right directory.

What is actually happening?

Always put the file in the /static folder.

bug
0
Informations
Bug Report โ€ข Open
#c176 - Created 7 months ago