From 5a3aed3bc106d011d9c53d4f06084a96a0e5366e Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sun, 18 Jun 2017 15:10:49 +0430 Subject: [PATCH] improve coverage --- rollup.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index a6ace59fb0..be2a550c8b 100755 --- a/rollup.config.js +++ b/rollup.config.js @@ -4,7 +4,7 @@ const rollupBabel = require('rollup-plugin-babel') const rollupAlias = require('rollup-plugin-alias') const rollupCommonJS = require('rollup-plugin-commonjs') const rollupReplace = require('rollup-plugin-replace') -const rollupResolve = require('rollup-plugin-node-resolve') +const rollupNodeResolve = require('rollup-plugin-node-resolve') const packageJson = require('./package.json') const dependencies = Object.keys(packageJson.dependencies) @@ -65,9 +65,9 @@ function genConfig (opts) { resolve: ['.js', '.json', '.jsx', '.ts'] }, aliases, opts.alias)), - rollupCommonJS(), + rollupNodeResolve({ main: true, jsnext: true }), - rollupResolve({ jsnext: true }), + rollupCommonJS(), rollupBabel(Object.assign({ exclude: 'node_modules/**',