todomvc/atomico/rollup.config.js
/**
 * Returns the generic plugins to be used for packaging
 * @param {boolean} classes - lets you disable the transformation of classes
 * @return {Array}
 */
Returns the generic plugins to be used for packaging
@param {boolean} classes - lets you disable the transformation of classes
@return {Array}
Returns the generic plugins to be used for packaging @param { boolean } classes - lets you disable the transformation of classes @return { Array }
function plugins(classes = true) {
    return [
        commonjs({
            include: 'node_modules/**'
        }),
        resolve(),
        postcss({
            plugins: [cssnano]
        }),
        buble({
            jsx: 'h',
            transforms: {
                classes
            },
            objectAssign: 'Object.assign'
        }),
        terser(),
        copy({
            'node_modules/atomico/dist/atomico.umd.js': 'dist/atomico.umd.js',
            verbose: true
        }),
        filesize()
    ];
}
function plugins ( classes = true ) { return [ commonjs ( { include : 'node_modules/**' } ) , resolve ( ) , postcss ( { plugins : [ cssnano ] } ) , buble ( { jsx : 'h' , transforms : { classes } , objectAssign : 'Object.assign' } ) , terser ( ) , copy ( { 'node_modules/atomico/dist/atomico.umd.js' : 'dist/atomico.umd.js' , verbose : true } ) , filesize ( ) ] ; }
Returns the generic plugins to be used for packaging
 @param {boolean} classes - lets you disable the transformation of classes
 @return {Array}
Returns the generic plugins to be used for packaging @param { boolean } classes - lets you disable the transformation of classes @return { Array }