diff --git a/config/rollup.js b/config/rollup.js index 207eea6..3c2f3b6 100644 --- a/config/rollup.js +++ b/config/rollup.js @@ -9,18 +9,21 @@ const metadata = require('../package.json'); const shebang = '#! /usr/bin/env node'; const bundle = { + external: [ + 'dtrace-provider', + ], input: [ 'src/index.ts', 'test/harness.ts', 'test/**/Test*.ts', ], manualChunks(id) { - if (id.includes('/node_modules/')) { - return 'vendor'; + if (id.includes('/test/') /* || id.includes('/chai/') */ || id.includes('/sinon/')) { + return 'test' } - if (id.includes('/test/')) { - return 'test' + if (id.includes('/node_modules/')) { + return 'vendor'; } if (id.includes('/src/index')) { diff --git a/test/TestRule.ts b/test/TestRule.ts index 1a39e18..29d80fd 100644 --- a/test/TestRule.ts +++ b/test/TestRule.ts @@ -159,6 +159,5 @@ describe('rule visitor', () => { mockRule.verify(); expect(ctx.errors.length).to.equal(0); - }) - + }); }); \ No newline at end of file