Skip to content

Commit

Permalink
Fix rollup external test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wKovacs64 committed Dec 12, 2018
1 parent 2f32b76 commit 48d2528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { sizeSnapshot } from 'rollup-plugin-size-snapshot';
import { terser } from 'rollup-plugin-terser';

const umdName = 'hibp';
const external = id => !id.startsWith('.') && !id.startsWith('/');
const external = id => !/^(\.|\/|[a-z]:\\)/i.test(id);
const babelOpts = { exclude: 'node_modules/**' };
const nodeResolveOpts = { browser: true, jsnext: true };
const sizeSnapshotOpts = { printInfo: false };
Expand Down

0 comments on commit 48d2528

Please sign in to comment.