Skip to content

Commit

Permalink
fix(urllib): Add url dep to build
Browse files Browse the repository at this point in the history
  • Loading branch information
pcholuj committed Mar 19, 2019
1 parent 74012c6 commit 6c17c47
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const nodeResolve = require('rollup-plugin-node-resolve');
const replace = require('rollup-plugin-replace');
const json = require('rollup-plugin-json');
const babel = require('rollup-plugin-babel');
const inject = require('rollup-plugin-inject');

const adapters = {
'./lib/api/security': 'build/module/adapters/security.browser.js',
Expand Down Expand Up @@ -74,11 +75,8 @@ const plugins = [
}),
];

// We use Node style testing so the Karma bundle needs some Node globals
if (process.env.TEST_ENV) {
plugins.push(builtins());
plugins.push(globals());
}
plugins.push(builtins());
plugins.push(globals());

module.exports = {
input: 'build/module/index.js',
Expand Down

0 comments on commit 6c17c47

Please sign in to comment.