Skip to content

Instantly share code, notes, and snippets.

@liamjones
Created October 18, 2018 07:48
Show Gist options
  • Save liamjones/ae7f6f6ae6139fd4a8931f43a052b517 to your computer and use it in GitHub Desktop.
Save liamjones/ae7f6f6ae6139fd4a8931f43a052b517 to your computer and use it in GitHub Desktop.
Removal of streaming related exports for RN use
diff --git a/node_modules/parse5/lib/index.js b/node_modules/parse5/lib/index.js
index 9472a62..c7c232e 100644
--- a/node_modules/parse5/lib/index.js
+++ b/node_modules/parse5/lib/index.js
@@ -35,10 +35,3 @@ exports.treeAdapters = {
default: require('./tree_adapters/default'),
htmlparser2: require('./tree_adapters/htmlparser2')
};
-
-
-// Streaming
-exports.ParserStream = require('./parser/parser_stream');
-exports.PlainTextConversionStream = require('./parser/plain_text_conversion_stream');
-exports.SerializerStream = require('./serializer/serializer_stream');
-exports.SAXParser = require('./sax');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment