File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ build() {
96
96
# version number on build file
97
97
cp platform.min.js platform-${VERSION} .min.js
98
98
cp platform.min.js.map platform-${VERSION} .min.js.map
99
+ sed -i -e " s|\(//# sourceMappingURL=\)platform.min.js|\1platform-${VERSION} .min.js|" platform-${VERSION} .min.js
99
100
mv platform{,-$VERSION }.min.js{,.map} ../
100
101
ok
101
102
popd > /dev/null
@@ -114,6 +115,7 @@ build() {
114
115
# version number on build file
115
116
cp polymer.min.js polymer-${VERSION} .min.js
116
117
cp polymer.min.js.map polymer-${VERSION} .min.js.map
118
+ sed -i -e " s|\(//# sourceMappingURL=\)polymer.min.js|\1polymer-${VERSION} .min.js|" polymer-${VERSION} .min.js
117
119
mv build.log polymer{,-$VERSION }.min.js{,.map} ../
118
120
ok
119
121
popd > /dev/null
You can’t perform that action at this time.
0 commit comments