PHP Classes

File: assets/gallerytypes/viewerjs/rollup.config.js

Recommend this page to a friend!
  Classes of Goffy G   wgGallery   assets/gallerytypes/viewerjs/rollup.config.js   Download  
File: assets/gallerytypes/viewerjs/rollup.config.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: wgGallery
Image gallery module for XOOPS CMS
Author: By
Last change:
Date: 3 years ago
Size: 887 bytes
 

Contents

Class file image Download
const babel = require('rollup-plugin-babel'); const pkg = require('./package'); const now = new Date(); const banner = `/*! * Viewer.js v${pkg.version} * https://github.com/${pkg.repository} * * Copyright (c) 2015-${now.getFullYear()} ${pkg.author.name} * Released under the ${pkg.license} license * * Date: ${now.toISOString()} */ `; module.exports = { input: 'src/index.js', output: [ { banner, file: 'dist/viewer.js', format: 'umd', name: 'Viewer', }, { banner, file: 'dist/viewer.common.js', format: 'cjs', }, { banner, file: 'dist/viewer.esm.js', format: 'es', }, { banner, file: 'docs/js/viewer.js', format: 'umd', name: 'Viewer', }, ], plugins: [ babel({ exclude: 'node_modules/**', plugins: ['external-helpers'], }), ], };