Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
create build manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Jul 4, 2013
1 parent c0811c7 commit 69e86c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
5 changes: 5 additions & 0 deletions build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[
"src/Parser.js",
"src/HTMLImports.js",
"src/boot.js"
]
9 changes: 3 additions & 6 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
* license that can be found in the LICENSE file.
*/
module.exports = function(grunt) {
HTMLComponents = [
'src/HTMLImports.js'
];
HTMLComponents = grunt.file.readJSON('build.json');
// karma setup
var browsers;
(function() {
Expand Down Expand Up @@ -44,11 +42,10 @@ module.exports = function(grunt) {
},
uglify: {
HTMLComponents: {
/*
options: {
sourceMap: 'html-components.min.source-map.js'
sourceMap: 'html-components.min.source-map.js',
banner: grunt.file.read('LICENSE')
},
*/
files: {
'html-imports.min.js': HTMLComponents
}
Expand Down

0 comments on commit 69e86c0

Please sign in to comment.