UNPKG

@forensic-js/regex

Version:

A module that builds on the existing RegExp module, making it easier working with text matching and replacement both in the browser and node environments

21 lines (18 loc) 507 B
import resolve from 'rollup-plugin-node-resolve'; import commonjs from 'rollup-plugin-commonjs'; import babel from 'rollup-plugin-babel'; import { uglify } from 'rollup-plugin-uglify'; import rollupAll from 'rollup-all'; const plugins = [ resolve({ extensions: ['.ts', '.js'], }), commonjs({ include: 'node_modules/**' }), babel({ exclude: 'node_modules/**', extensions: ['.ts', '.js'] }), ]; export default rollupAll.getExports(uglify(), plugins);