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:
committed by
Nils Knappmeier
parent
63a8e0caa2
commit
b617375219
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
instrumentation:
|
instrumentation:
|
||||||
excludes: ['**/spec/**']
|
excludes: ['**/spec/**', '**/handlebars/compiler/parser.js']
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
/* istanbul ignore next */
|
// File ignored in coverage tests via setting in .istanbul.yml
|
||||||
|
|||||||
@@ -1,2 +1 @@
|
|||||||
exports.__esModule = true;
|
export default handlebars;
|
||||||
exports['default'] = handlebars;
|
|
||||||
|
|||||||
Reference in New Issue
Block a user