httpsnippet out of Webpack (Fixes #640)

This commit is contained in:
Gregory Schier 2017-11-30 11:21:42 +00:00
parent a0685c882e
commit fd0e36f6cf
3 changed files with 5910 additions and 1 deletions

5900
deps.json Normal file

File diff suppressed because it is too large Load Diff

View File

@ -21,4 +21,14 @@ describe('package.json', () => {
expect(globalPackage.dependencies['graphql']).toBe('^0.10.5');
expect(globalPackage.dependencies['codemirror-graphql']).toBe('^0.6.11');
});
it('packages must be included in webpack build or else errors happen', () => {
// If this is built by Webpack it fails on multipart/form-data
expect(globalPackage.packedDependencies.includes('httpsnippet')).toBe(false);
});
it('packages must NOT be included in webpack build or else errors happen', () => {
// PDFJS breaks if not part of Webpack build
expect(globalPackage.packedDependencies.includes('pdfjs-dist')).toBe(true);
});
});

View File

@ -67,7 +67,6 @@
"codemirror-graphql",
"graphql",
"highlight.js",
"insomnia-httpsnippet",
"jwt-authentication",
"moment",
"nunjucks",