add sourcemap support to rollup template
This commit is contained in:
parent
137ce27cd5
commit
b981aa7e6b
1 changed files with 4 additions and 2 deletions
|
@ -12,11 +12,13 @@ export default {
|
||||||
output: [
|
output: [
|
||||||
{
|
{
|
||||||
file: pkg.main,
|
file: pkg.main,
|
||||||
format: 'cjs'
|
format: 'cjs',
|
||||||
|
sourcemap: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
file: pkg.module,
|
file: pkg.module,
|
||||||
format: 'es'
|
format: 'es',
|
||||||
|
sourcemap: true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue