Created
May 27, 2016 15:15
-
-
Save gustavderdrache/a1e32d860b716dc4c10f88ebe62620a2 to your computer and use it in GitHub Desktop.
minimal htmlOutputTemplate configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>hello, world</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function (grunt) { | |
grunt.initConfig({ | |
ts: { | |
'custom-template': { | |
html: ['file.html'], | |
src: ['.'], | |
options: { | |
compile: false, | |
htmlOutputTemplate: 'export default \'<%= content %>\'', | |
} | |
} | |
} | |
}); | |
grunt.loadNpmTasks('grunt-ts'); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dependencies": { | |
"grunt": "^1.0.1", | |
"grunt-ts": "^5.5.1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment