Skip to content

Commit f91938f

Browse files
Call Closure directly from Wireit (webcomponents#555)
1 parent 172891f commit f91938f

File tree

3 files changed

+24
-43
lines changed

3 files changed

+24
-43
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
--compilation_level=ADVANCED_OPTIMIZATIONS
2+
--warning_level=VERBOSE
3+
--language_in=STABLE
4+
--language_out=ECMASCRIPT5_STRICT
5+
--dependency_mode=PRUNE
6+
--entry_point=./src/scoped-custom-element-registry.js
7+
--js=./src/scoped-custom-element-registry.js
8+
--js_output_file=./scoped-custom-element-registry.min.js
9+
--output_wrapper="(function(){
10+
%output%
11+
}).call(typeof globalThis === 'object' ? globalThis : window);
12+
13+
//# sourceMappingURL=scoped-custom-element-registry.min.js.map"
14+
--assume_function_wrapper=true
15+
--rewrite_polyfills=false
16+
--create_source_map=./scoped-custom-element-registry.min.js.map
17+
--source_map_include_content

packages/scoped-custom-element-registry/gulpfile.js

-41
This file was deleted.

packages/scoped-custom-element-registry/package.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,14 @@
4747
},
4848
"wireit": {
4949
"build": {
50-
"command": "gulp",
50+
"dependencies": [
51+
"build:closure"
52+
]
53+
},
54+
"build:closure": {
55+
"command": "google-closure-compiler --flagfile closure-flags.txt",
5156
"files": [
52-
"gulpfile.js",
57+
"closure-flags.txt",
5358
"src/**/*.js"
5459
],
5560
"output": [

0 commit comments

Comments
 (0)