-
-
Notifications
You must be signed in to change notification settings - Fork 2k
/
Copy pathclosure-compiler.js
23 lines (23 loc) · 1.01 KB
/
closure-compiler.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module.exports = function (grunt) {
return {
utils: {
files: {
"build/js/utils.js": "src/js/utils.js",
},
options: {
js: [
"node_modules/google-closure-library/**.js",
"third_party/libphonenumber/javascript/i18n/phonenumbers/**.js",
"!third_party/libphonenumber/javascript/i18n/phonenumbers/demo-compiled.js",
"!third_party/libphonenumber/javascript/i18n/phonenumbers/metadatafortesting.js",
"!third_party/libphonenumber/javascript/i18n/phonenumbers/metadatalite.js",
"!third_party/libphonenumber/javascript/i18n/phonenumbers/regioncodefortesting.js",
"!third_party/libphonenumber/javascript/i18n/phonenumbers/**_test.js",
],
entry_point: "goog:i18n.phonenumbers.demo",
compilation_level: "ADVANCED_OPTIMIZATIONS",
output_wrapper: "(function () {%output%})();\nconst utils = window.intlTelInputUtilsTemp;\ndelete window.intlTelInputUtilsTemp;\nexport default utils;",
},
},
};
};