fix comments output & improve `/*@__PURE__*/`
authorAlex Lam S.L <alexlamsl@gmail.com>
Sun, 24 Dec 2017 04:38:45 +0000 (12:38 +0800)
committerGitHub <noreply@github.com>
Sun, 24 Dec 2017 04:38:45 +0000 (12:38 +0800)
commitefffb817357898f3a05d24fdddbf3280e33bf880
treedda34208d6ed4a27646562c22ed7d4c3c3c921e6
parent202f90ef8f2b282fbd5c063a7e5a34f79551099e
fix comments output & improve `/*@__PURE__*/`

- fix whitespace around comments
- fix comment parsing around parentheses
- consider parentheses when parsing `/*@__PURE__*/`
- remove all `/*@__PURE__*/` on output

fixes #2638
lib/compress.js
lib/output.js
lib/parse.js
test/compress/pure_funcs.js
test/mocha/minify.js