mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
docs: added options and option definitions for sourcemap (#30201)
This commit is contained in:
parent
41eccbc4fe
commit
0d263a39b7
@ -24,7 +24,16 @@ export default defineUntypedSchema({
|
||||
},
|
||||
|
||||
/**
|
||||
* Whether to generate sourcemaps.
|
||||
* Configures whether and how sourcemaps are generated for server and/or client bundles.
|
||||
*
|
||||
* If set to a single boolean, that value applies to both server and client.
|
||||
* Additionally, the `'hidden'` option is also available for both server and client.
|
||||
*
|
||||
* Available options for both client and server:
|
||||
* - `true`: Generates sourcemaps and includes source references in the final bundle.
|
||||
* - `false`: Does not generate any sourcemaps.
|
||||
* - `'hidden'`: Generates sourcemaps but does not include references in the final bundle.
|
||||
*
|
||||
* @type {boolean | { server?: boolean | 'hidden', client?: boolean | 'hidden' }}
|
||||
*/
|
||||
sourcemap: {
|
||||
|
Loading…
Reference in New Issue
Block a user