UNPKG

bootstrap-select-country

Version:

A jQuery plugin that utilizes Bootstrap's dropdown.js and bootstrap-select to provide country data and styling to standard select elements.

35 lines (30 loc) 687 B
import babel from 'rollup-plugin-babel'; import json from 'rollup-plugin-json'; import resolve from 'rollup-plugin-node-resolve'; import commonjs from 'rollup-plugin-commonjs'; import uglify from 'rollup-plugin-uglify'; const peerDependencies = Object.keys(require('./package.json').peerDependencies) export default { input: 'src/bootstrap-select-country.js', output: { file: 'dist/js/bootstrap-select-country.min.js', format: 'iife', name: 'countrypicker', sourcemap: true, globals: { jquery: '$' }, }, external: peerDependencies, plugins: [ json(), babel(), resolve({ jsnext: true, main: true, browser: true, }), commonjs(), uglify(), ] }