MCPcopy Create free account
hub / github.com/SAP/ui5-builder / openModule

Method openModule

lib/lbt/bundle/Builder.js:181–192  ·  view source on GitHub ↗
(module)

Source from the content-addressed store, hash-verified

179 }
180
181 openModule(module) {
182 this.outW = new BundleWriter();
183 this.missingRawDeclarations = [];
184
185 this.outW.writeln("//@ui5-bundle " + module);
186 if ( this.shouldDecorate ) {
187 this.outW.writeln(`window["sap-ui-optimized"] = true;`);
188 if ( this.options.addTryCatchRestartWrapper ) {
189 this.outW.writeln(`try {`);
190 }
191 }
192 }
193
194 writeWithSourceMap(content) {
195 const transientSourceName =

Callers 1

_createBundleMethod · 0.95

Calls 1

writelnMethod · 0.80

Tested by

no test coverage detected