UNPKG

@ryangjchandler/alpine-clipboard

Version:

Simply copy to the users clipboard in your Alpine.js components.

34 lines (32 loc) 780 B
import babel from 'rollup-plugin-babel' import filesize from 'rollup-plugin-filesize' import resolve from 'rollup-plugin-node-resolve' export default { input: 'builds/cdn.js', output: [ { name: 'AlpineClipboard', file: 'dist/alpine-clipboard.js', format: 'umd', sourcemap: true } ], plugins: [ resolve(), filesize(), babel({ babelrc: false, exclude: 'node_modules/**', presets: [ [ '@babel/preset-env', { targets: { node: 'current' } } ] ] }) ] }