UNPKG

wicg-inert

Version:

A polyfill for the proposed inert API

38 lines (36 loc) 611 B
import {uglify} from 'rollup-plugin-uglify'; import babel from 'rollup-plugin-babel'; export default [ { input: 'src/inert.js', output: { file: 'dist/inert.js', format: 'umd', amd: { id: 'inert' } }, plugins: [ babel({ exclude: 'node_modules/**', }), ], }, { input: 'src/inert.js', output: { file: 'dist/inert.min.js', format: 'umd', amd: { id: 'inert' }, sourcemap: true, }, plugins: [ babel({ exclude: 'node_modules/**', }), uglify(), ], }, ];