diff --git a/src/JS.php b/src/JS.php index d553c09..b47533a 100644 --- a/src/JS.php +++ b/src/JS.php @@ -208,6 +208,9 @@ public function execute($path = null) */ public function stripComments() { + // /*DEV*/ style comments + $this->registerPattern('/\/\*DEV\*\/.*$/m', ''); + // single-line comments $this->registerPattern('/\/\/.*$/m', '');