Generate parser as es6 module
This commit is contained in:
@@ -1 +0,0 @@
|
||||
// BEGIN(BROWSER)
|
||||
@@ -1,4 +1 @@
|
||||
|
||||
// END(BROWSER)
|
||||
|
||||
module.exports = handlebars;
|
||||
export default handlebars;
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ module.exports = function(grunt) {
|
||||
return;
|
||||
}
|
||||
|
||||
var src = ['src/parser-prefix.js', 'handlebars.js', 'src/parser-suffix.js'].map(grunt.file.read).join('');
|
||||
var src = ['handlebars.js', 'src/parser-suffix.js'].map(grunt.file.read).join('');
|
||||
grunt.file.delete('handlebars.js');
|
||||
|
||||
grunt.file.write('lib/handlebars/compiler/parser.js', src);
|
||||
|
||||
Reference in New Issue
Block a user