mirror of
https://github.com/SamEyeBam/animate.git
synced 2025-12-15 18:21:05 +00:00
larry babby and threejs for glsl
This commit is contained in:
18
webGl/my-threejs-test/node_modules/htmlnano/lib/presets/ampSafe.cjs
generated
vendored
Normal file
18
webGl/my-threejs-test/node_modules/htmlnano/lib/presets/ampSafe.cjs
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _safe = _interopRequireDefault(require("./safe.cjs"));
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
/**
|
||||
* A safe preset for AMP pages (https://www.ampproject.org)
|
||||
*/
|
||||
var _default = exports.default = {
|
||||
..._safe.default,
|
||||
collapseBooleanAttributes: {
|
||||
amphtml: true
|
||||
},
|
||||
minifyJs: false
|
||||
};
|
||||
11
webGl/my-threejs-test/node_modules/htmlnano/lib/presets/ampSafe.mjs
generated
vendored
Normal file
11
webGl/my-threejs-test/node_modules/htmlnano/lib/presets/ampSafe.mjs
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import safePreset from './safe.mjs';
|
||||
|
||||
/**
|
||||
* A safe preset for AMP pages (https://www.ampproject.org)
|
||||
*/
|
||||
export default { ...safePreset,
|
||||
collapseBooleanAttributes: {
|
||||
amphtml: true,
|
||||
},
|
||||
minifyJs: false,
|
||||
};
|
||||
27
webGl/my-threejs-test/node_modules/htmlnano/lib/presets/max.cjs
generated
vendored
Normal file
27
webGl/my-threejs-test/node_modules/htmlnano/lib/presets/max.cjs
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _safe = _interopRequireDefault(require("./safe.cjs"));
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
/**
|
||||
* Maximal minification (might break some pages)
|
||||
*/
|
||||
var _default = exports.default = {
|
||||
..._safe.default,
|
||||
collapseWhitespace: 'all',
|
||||
removeComments: 'all',
|
||||
removeAttributeQuotes: true,
|
||||
removeRedundantAttributes: true,
|
||||
mergeScripts: true,
|
||||
mergeStyles: true,
|
||||
removeUnusedCss: {},
|
||||
minifyCss: {
|
||||
preset: 'default'
|
||||
},
|
||||
minifySvg: {},
|
||||
minifyConditionalComments: true,
|
||||
removeOptionalTags: true
|
||||
};
|
||||
20
webGl/my-threejs-test/node_modules/htmlnano/lib/presets/max.mjs
generated
vendored
Normal file
20
webGl/my-threejs-test/node_modules/htmlnano/lib/presets/max.mjs
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import safePreset from './safe.mjs';
|
||||
|
||||
/**
|
||||
* Maximal minification (might break some pages)
|
||||
*/
|
||||
export default { ...safePreset,
|
||||
collapseWhitespace: 'all',
|
||||
removeComments: 'all',
|
||||
removeAttributeQuotes: true,
|
||||
removeRedundantAttributes: true,
|
||||
mergeScripts: true,
|
||||
mergeStyles: true,
|
||||
removeUnusedCss: {},
|
||||
minifyCss: {
|
||||
preset: 'default',
|
||||
},
|
||||
minifySvg: {},
|
||||
minifyConditionalComments: true,
|
||||
removeOptionalTags: true,
|
||||
};
|
||||
65
webGl/my-threejs-test/node_modules/htmlnano/lib/presets/safe.cjs
generated
vendored
Normal file
65
webGl/my-threejs-test/node_modules/htmlnano/lib/presets/safe.cjs
generated
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
/**
|
||||
* Minify HTML in a safe way without breaking anything.
|
||||
*/
|
||||
var _default = exports.default = {
|
||||
/* ----------------------------------------
|
||||
* Attributes
|
||||
* ---------------------------------------- */
|
||||
// normalize the case of attribute names and values
|
||||
// normalizeAttributeValues will also normalize property value with invalid value default
|
||||
// See https://html.spec.whatwg.org/#invalid-value-default
|
||||
normalizeAttributeValues: true,
|
||||
removeEmptyAttributes: true,
|
||||
collapseAttributeWhitespace: true,
|
||||
// removeRedundantAttributes will remove attributes when missing value default matches the attribute's value
|
||||
// See https://html.spec.whatwg.org/#missing-value-default
|
||||
removeRedundantAttributes: false,
|
||||
// collapseBooleanAttributes will also collapse those default state can be omitted
|
||||
collapseBooleanAttributes: {
|
||||
amphtml: false
|
||||
},
|
||||
deduplicateAttributeValues: true,
|
||||
minifyUrls: false,
|
||||
sortAttributes: false,
|
||||
sortAttributesWithLists: 'alphabetical',
|
||||
/* ----------------------------------------
|
||||
* Minify HTML content
|
||||
* ---------------------------------------- */
|
||||
collapseWhitespace: 'conservative',
|
||||
removeComments: 'safe',
|
||||
minifyConditionalComments: false,
|
||||
removeOptionalTags: false,
|
||||
removeAttributeQuotes: false,
|
||||
/* ----------------------------------------
|
||||
* Minify inline <style>, <script> and <svg> tag
|
||||
* ---------------------------------------- */
|
||||
mergeStyles: false,
|
||||
mergeScripts: false,
|
||||
minifyCss: {
|
||||
preset: 'default'
|
||||
},
|
||||
minifyJs: {},
|
||||
minifyJson: {},
|
||||
minifySvg: {
|
||||
plugins: [{
|
||||
name: 'preset-default',
|
||||
params: {
|
||||
overrides: {
|
||||
collapseGroups: false,
|
||||
convertShapeToPath: false
|
||||
}
|
||||
}
|
||||
}]
|
||||
},
|
||||
removeUnusedCss: false,
|
||||
/* ----------------------------------------
|
||||
* Miscellaneous
|
||||
* ---------------------------------------- */
|
||||
custom: []
|
||||
};
|
||||
65
webGl/my-threejs-test/node_modules/htmlnano/lib/presets/safe.mjs
generated
vendored
Normal file
65
webGl/my-threejs-test/node_modules/htmlnano/lib/presets/safe.mjs
generated
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
/**
|
||||
* Minify HTML in a safe way without breaking anything.
|
||||
*/
|
||||
export default {
|
||||
/* ----------------------------------------
|
||||
* Attributes
|
||||
* ---------------------------------------- */
|
||||
// normalize the case of attribute names and values
|
||||
// normalizeAttributeValues will also normalize property value with invalid value default
|
||||
// See https://html.spec.whatwg.org/#invalid-value-default
|
||||
normalizeAttributeValues: true,
|
||||
removeEmptyAttributes: true,
|
||||
collapseAttributeWhitespace: true,
|
||||
// removeRedundantAttributes will remove attributes when missing value default matches the attribute's value
|
||||
// See https://html.spec.whatwg.org/#missing-value-default
|
||||
removeRedundantAttributes: false,
|
||||
// collapseBooleanAttributes will also collapse those default state can be omitted
|
||||
collapseBooleanAttributes: {
|
||||
amphtml: false,
|
||||
},
|
||||
deduplicateAttributeValues: true,
|
||||
|
||||
minifyUrls: false,
|
||||
|
||||
sortAttributes: false,
|
||||
sortAttributesWithLists: 'alphabetical',
|
||||
|
||||
/* ----------------------------------------
|
||||
* Minify HTML content
|
||||
* ---------------------------------------- */
|
||||
collapseWhitespace: 'conservative',
|
||||
removeComments: 'safe',
|
||||
minifyConditionalComments: false,
|
||||
removeOptionalTags: false,
|
||||
removeAttributeQuotes: false,
|
||||
/* ----------------------------------------
|
||||
* Minify inline <style>, <script> and <svg> tag
|
||||
* ---------------------------------------- */
|
||||
mergeStyles: false,
|
||||
mergeScripts: false,
|
||||
minifyCss: {
|
||||
preset: 'default',
|
||||
},
|
||||
minifyJs: {},
|
||||
minifyJson: {},
|
||||
minifySvg: {
|
||||
plugins: [
|
||||
{
|
||||
name: 'preset-default',
|
||||
params: {
|
||||
overrides: {
|
||||
collapseGroups: false,
|
||||
convertShapeToPath: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
]
|
||||
},
|
||||
removeUnusedCss: false,
|
||||
|
||||
/* ----------------------------------------
|
||||
* Miscellaneous
|
||||
* ---------------------------------------- */
|
||||
custom: []
|
||||
};
|
||||
Reference in New Issue
Block a user