Parser: Change suffix to use ES6 default module export

- This export will be transpiled by Babel for the cjs distribution,
  but will enable others to  use a pure ES6 module distribution
- Instanbul: Ignore "parser.js" for coverage reporting. This file was ignored before
  via annotation, but this has no effect anymore due to the above change
- Remove istanbul annotation from `parser-prefix` (@nknapp)

Squashed by @nknapp

(cherry picked from commit 508347e)
This commit is contained in:
Tobias Bieniek
2017-02-23 17:44:31 +01:00
committed by Nils Knappmeier
parent 63a8e0caa2
commit b617375219
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
instrumentation:
excludes: ['**/spec/**']
excludes: ['**/spec/**', '**/handlebars/compiler/parser.js']
+1 -1
View File
@@ -1 +1 @@
/* istanbul ignore next */
// File ignored in coverage tests via setting in .istanbul.yml
+1 -2
View File
@@ -1,2 +1 @@
exports.__esModule = true;
exports['default'] = handlebars;
export default handlebars;