Remove Symbol Description
A Babel plugin to remove Symbol descriptions.
Note: Babel 6 is supported in version 1.0.1+. Keep using version 0.0.1 for Babel 5 support.
What?
In:
Symbol'some description'; var someIdentifier = 'some description';SymbolsomeIdentifier;
Out:
Symbol; var someIdentifier = 'some description';Symbol;
Why?
Symbol descriptions are useful in development for debugging, but they can safely be removed in production to save bytes.
Installation
npm install -D babel-plugin-remove-symbol-description