1.0.1 • Published 5 months ago
nuxt-sourcemap v1.0.1
nuxt-sourcemap
This version is Nuxt 3 only.
Quick Setup
- Add
nuxt-sourcemap
dependency to your project
npx nuxi@latest module add nuxt-sourcemap
- Add
nuxt-sourcemap
to themodules
section ofnuxt.config.js
{
modules: [
[
'nuxt-sourcemap', {
/* Sourcemap options */
}
],
]
}
using top level options
{
modules: [
'nuxt-sourcemap',
],
sourcemapOption: {
/* Sourcemap options */
},
}
Usage
Configuration
outputDir
- Type: String
output path default value sourcemaps
.
Default configuration
{
// ...
sourcemapOption: {
outputDir: 'sourcemaps'
}
// ...
}
Contributing
You can contribute to this module online with CodeSandBox:
Or locally:
Clone this repository
Install dependencies using
yarn install
ornpm install
Start development server using
yarn dev
ornpm run dev
License
Copyright (c) alexgogoing alexgogoing@sina.com