prevent mangling of Types and other useful data

This commit is contained in:
Kevin Jahns 2017-11-08 00:01:18 -08:00
parent e696304845
commit b94267e14a

View File

@ -17,6 +17,9 @@ export default {
commonjs(),
babel(),
uglify({
mangle: {
except: ['YMap', 'Y', 'YArray', 'YText', 'YXmlFragment', 'YXmlElement', 'YXmlEvent', 'YXmlText', 'YEvent', 'YArrayEvent', 'YMapEvent', 'Type', 'Delete', 'ItemJSON', 'ItemString', 'Item']
},
output: {
comments: function (node, comment) {
var text = comment.value