1 import babel from 'rollup-plugin-babel'
2 import commonjs from '@rollup/plugin-commonjs'
3 import postcss from 'rollup-plugin-postcss'
4 import resolve from '@rollup/plugin-node-resolve'
5 import external from 'rollup-plugin-peer-deps-external'
6 import img from '@rollup/plugin-image'
8 import pkg from './package.json'
11 input: './libIndex.js',
31 exclude: 'node_modules/**',
34 "@babel/preset-env", {},
35 "@babel/preset-react", {}
39 "@babel/plugin-proposal-class-properties",
46 resolve({ preferBuiltins: true, mainFields: ['browser'] })