mirror of
https://github.com/SamEyeBam/animate.git
synced 2025-09-28 06:55:25 +00:00
larry babby and threejs for glsl
This commit is contained in:
19
webGl/my-threejs-test/node_modules/@parcel/packager-js/lib/GlobalOutputFormat.js
generated
vendored
Normal file
19
webGl/my-threejs-test/node_modules/@parcel/packager-js/lib/GlobalOutputFormat.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"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;
|
Reference in New Issue
Block a user