Skip to content

Commit

Permalink
chore(rollup): assign babel dev env when running rollup. Fixes #228
Browse files Browse the repository at this point in the history
  • Loading branch information
emmenko committed Dec 28, 2018
1 parent 9aef665 commit d0defe9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Do this as the first thing so that any code reading it knows the right env.
process.env.BABEL_ENV = 'development';

const fs = require('fs');
const babel = require('rollup-plugin-babel');
const readPkgUp = require('read-pkg-up');
Expand Down

0 comments on commit d0defe9

Please sign in to comment.