1
0
Fork 0
This commit is contained in:
Travis Fischer 2018-03-04 15:43:18 -05:00 committed by Joost De Cock
parent e80c3b2298
commit 907845feb1
27 changed files with 11082 additions and 0 deletions

View file

@ -0,0 +1,32 @@
import babel from 'rollup-plugin-babel'
import commonjs from 'rollup-plugin-commonjs'
import external from 'rollup-plugin-peer-deps-external'
import postcss from 'rollup-plugin-postcss'
import resolve from 'rollup-plugin-node-resolve'
import pkg from './package.json'
export default {
input: 'src/index.js',
output: [
{
file: pkg.main,
format: 'cjs'
},
{
file: pkg.module,
format: 'es'
}
],
plugins: [
external(),
postcss({
modules: true
}),
babel({
exclude: 'node_modules/**'
}),
resolve(),
commonjs()
]
}