Add -keep command line option to JS DCE tool
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
define(["exports"], function(exports) {
|
||||
function foo() {
|
||||
}
|
||||
|
||||
function bar() {
|
||||
}
|
||||
|
||||
function baz() {
|
||||
}
|
||||
|
||||
function ignore() {
|
||||
}
|
||||
|
||||
baz();
|
||||
|
||||
exports.foo = foo;
|
||||
exports.bar = bar;
|
||||
exports.baz = baz;
|
||||
exports.ignore = ignore;
|
||||
});
|
||||
Reference in New Issue
Block a user