prevent mangling of Types and other useful data
This commit is contained in:
parent
e696304845
commit
b94267e14a
@ -17,6 +17,9 @@ export default {
|
|||||||
commonjs(),
|
commonjs(),
|
||||||
babel(),
|
babel(),
|
||||||
uglify({
|
uglify({
|
||||||
|
mangle: {
|
||||||
|
except: ['YMap', 'Y', 'YArray', 'YText', 'YXmlFragment', 'YXmlElement', 'YXmlEvent', 'YXmlText', 'YEvent', 'YArrayEvent', 'YMapEvent', 'Type', 'Delete', 'ItemJSON', 'ItemString', 'Item']
|
||||||
|
},
|
||||||
output: {
|
output: {
|
||||||
comments: function (node, comment) {
|
comments: function (node, comment) {
|
||||||
var text = comment.value
|
var text = comment.value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user