Skip to content

Commit

Permalink
update rollup config to new format
Browse files Browse the repository at this point in the history
  • Loading branch information
timhagn committed Oct 23, 2018
1 parent 2db4aea commit d7080c7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import resolve from 'rollup-plugin-node-resolve';
import babel from 'rollup-plugin-babel';
import commonjs from 'rollup-plugin-commonjs';
import uglify from 'rollup-plugin-uglify';
import { uglify } from 'rollup-plugin-uglify';

const prod = process.env.PRODUCTION;

let config = {
input: 'src/index.js',
sourcemap: true,
exports: 'named',
output: {
sourcemap: true,
exports: 'named'
},
external: ['react', 'styled-components'],
}

Expand Down

0 comments on commit d7080c7

Please sign in to comment.