fix: not striping all console statements...

This commit is contained in:
07akioni 2020-04-03 17:31:39 +08:00
parent 65bb130070
commit 5d10492115
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,5 @@
const vue = require('rollup-plugin-vue')
const resolve = require('@rollup/plugin-node-resolve')
const strip = require('@rollup/plugin-strip')
const { terser } = require('rollup-plugin-terser')
const naiveSCSSVariable = require('./build/naiveSCSSVarPlugin')
@ -33,7 +32,6 @@ module.exports = {
}
}),
naiveSCSSVariable(),
strip(),
terser({
mangle: false,
output: {

View File

@ -152,7 +152,7 @@ export default {
this.internalSelectedKeys = this.defaultSelectedKeys || []
if (this.defaultExpandAll) {
this.internalExpandedKeys = getAllKeys(this.data)
console.log('getAllKeys(this.data)', getAllKeys(this.data))
// console.log('getAllKeys(this.data)', getAllKeys(this.data))
}
},
data () {
@ -189,7 +189,7 @@ export default {
this.filter
)
this.highlightKeys = highlightKeys
console.log(highlightKeys)
// console.log(highlightKeys)
if (!this.hasExpandedKeys) {
this.internalExpandedKeys = expandedKeysAfterChange
}