How to use the rollup-plugin-bundleutils.timestamp function in rollup-plugin-bundleutils

To help you get started, we’ve selected a few rollup-plugin-bundleutils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pschroen / alien.js / src / utils.js View on Github external
/**
 * @author Patrick Schroen / https://github.com/pschroen
 */

import bundleutils from 'rollup-plugin-bundleutils';

const pad = bundleutils.pad;
const timestamp = bundleutils.timestamp;
const singletons = (values = []) => bundleutils.singletons([
    'Utils',
    'Render',
    'Timer',
    'Device',
    'Accelerometer',
    'Mouse',
    'Assets',
    'Storage',
    'WebAudio',
    'TweenManager',
    'Interpolation',
    'CanvasFont',
    'Utils3D',
    'Stage'
].concat(values));

rollup-plugin-bundleutils

A set of functions commonly used after tree shaking

MIT
Latest version published 10 months ago

Package Health Score

53 / 100
Full package analysis