greglebreton 4e8a693745
Some checks failed
continuous-integration/drone/push Build is failing
add garagenum exp + maj url site projets
2023-01-08 16:50:31 +01:00

24 lines
482 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.GlobalOutputFormat = void 0;
class GlobalOutputFormat {
constructor(packager) {
this.packager = packager;
}
buildBundlePrelude() {
let prelude = this.packager.bundle.env.supports('arrow-functions', true) ? '(() => {\n' : '(function () {\n';
return [prelude, 1];
}
buildBundlePostlude() {
return ['})();', 0];
}
}
exports.GlobalOutputFormat = GlobalOutputFormat;