nuxt-community / legacy-modules

MIT License
1.29k stars 157 forks source link

@nuxt/browserconfig - Change the static dir #331

Open LuXDAmore opened 4 years ago

LuXDAmore commented 4 years 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.

This bug report is available on Nuxt community (#c176)