8000 Make build use debug params for closure compiler to ease development. · gonzojive/protobuf-javascript@3f6b823 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f6b823

Browse files
committed
Make build use debug params for closure compiler to ease development.
1 parent 3ff6090 commit 3f6b823

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ bazel-*
77
/testproto_libs1.js
88
/testproto_libs2.js
99
/google-protobuf.js
10+
/google-protobuf.js.map
11+
/external

gulpfile.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ function getClosureCompilerCommand(exportsFile, outputFile) {
150150
`--js=${exportsFile}`,
151151
'--generate_exports',
152152
`--compilation_level=${compilationLevel}`,
153+
`--formatting=PRETTY_PRINT`,
154+
'--debug',
155+
`--create_source_map=${outputFile}.map`,
156+
`--source_map_include_content`,
153157
'--export_local_property_definitions',
154158
`--entry_point=${exportsFile}`, `> ${outputFile}`
155159
].join(' ');

0 commit comments

Comments
 (0)
0