tapjs / tap-parser

parse the test anything protocol
121 stars 35 forks source link

Include browser build as part of the package #70

Closed thomasconner closed 4 years ago

thomasconner commented 4 years ago

We are trying to use this in a project where we don't have control over the build process but need to use it in a browser. With this change someone can use the browser build if they need to by doing

import Parser from 'tap-parser/browser';

coreyfarrell commented 4 years ago

Sorry but we're not able to accept webpack bundles in tapjs packages. We don't have the bandwidth to test or support code targeting browser bundles. In addition this raises concerns that the bundled code could eventually contain vulnerabilities that would be hidden from npm audit and would significantly increase the distribution size of tap-parser.

My advice if you need this is to create a separate package for a browser version of tap-parser.