mirror of
https://github.com/SamEyeBam/animate.git
synced 2025-12-20 03:50:07 +00:00
larry babby and threejs for glsl
This commit is contained in:
19
webGl/my-threejs-test/node_modules/htmlnano/lib/modules/custom.cjs
generated
vendored
Normal file
19
webGl/my-threejs-test/node_modules/htmlnano/lib/modules/custom.cjs
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = custom;
|
||||
/** Meta-module that runs custom modules */
|
||||
function custom(tree, options, customModules) {
|
||||
if (!customModules) {
|
||||
return tree;
|
||||
}
|
||||
if (!Array.isArray(customModules)) {
|
||||
customModules = [customModules];
|
||||
}
|
||||
customModules.forEach(customModule => {
|
||||
tree = customModule(tree, options);
|
||||
});
|
||||
return tree;
|
||||
}
|
||||
Reference in New Issue
Block a user