fixed banner
parent
5b756ea510
commit
c9ca54437a
|
@ -1,8 +1,4 @@
|
|||
/*!
|
||||
* vue-router v4.5.0
|
||||
* (c) 2024 Eduardo San Martin Morote
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
import { getCurrentInstance, inject, onUnmounted, onDeactivated, onActivated, computed, unref, watchEffect, defineComponent, reactive, h, provide, ref, watch, shallowRef, shallowReactive, nextTick } from 'vue';
|
||||
|
||||
|
||||
|
|
|
@ -58,6 +58,7 @@ export function execAsync(cmd) {
|
|||
fs.echo(
|
||||
code
|
||||
.replace(/\r\n/g, '\n')
|
||||
.replace(/\/\*\![\w\W]*?\*\//g, '')
|
||||
.replace("import { setupDevtoolsPlugin } from '@vue/devtools-api';", '')
|
||||
.replace('let routerId = 0;', '')
|
||||
.replace(
|
||||
|
@ -78,6 +79,14 @@ export function execAsync(cmd) {
|
|||
outdir: 'dist',
|
||||
target: 'es2017',
|
||||
format: 'esm',
|
||||
banner: {
|
||||
js: `/**
|
||||
* vue-router v${version}
|
||||
* (c) 2024 Eduardo San Martin Morote
|
||||
* @license MIT
|
||||
*/`
|
||||
},
|
||||
charset: 'utf8',
|
||||
minify: true,
|
||||
treeShaking: true
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue