Skip to content

Commit 0aac967

Browse files
scottbedardposva
authored andcommitted
chore: prevent banner from being removed by minifiers (#1851)
Trying to debug a webpack bundle splitting setup was made a bit trickier because it was hard to tell where this package was being included. Adding this should make the process a bit simpler.
1 parent 4b071f9 commit 0aac967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/configs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const node = require('rollup-plugin-node-resolve')
66
const replace = require('rollup-plugin-replace')
77
const version = process.env.VERSION || require('../package.json').version
88
const banner =
9-
`/**
9+
`/*!
1010
* vue-router v${version}
1111
* (c) ${new Date().getFullYear()} Evan You
1212
* @license MIT

0 commit comments

Comments
 (0)