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

Commit bcf1dc3

Browse files
committed
Add most minimal platform build for x-tag compatibility
1 parent 295396e commit bcf1dc3

3 files changed

Lines changed: 14 additions & 4 deletions

File tree

.gitignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
/test.bat
55

66
/build/shadowdom.conditional.js
7-
platform.min*
8-
platform.native*
9-
platform.sandbox*
10-
platform.concat*
7+
*.min.js*
8+
*.concat.js*
119
build.bat

build-lite.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[
2+
"../HTMLImports/build.json",
3+
"../CustomElements/build.json"
4+
]

gruntfile.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ module.exports = function(grunt) {
3232
}
3333
}
3434
},
35+
concat: {
36+
lite: {
37+
files: {
38+
'platform-lite.concat.js': readManifest('build-lite.json', [tmp.path])
39+
}
40+
}
41+
},
3542
uglify: {
3643
options: {
3744
banner: grunt.file.read('LICENSE'),
@@ -96,5 +103,6 @@ module.exports = function(grunt) {
96103
grunt.registerTask('docs', ['yuidoc']);
97104
grunt.registerTask('test', ['override-chrome-launcher', 'karma:platform']);
98105
grunt.registerTask('test-buildbot', ['override-chrome-launcher', 'karma:buildbot']);
106+
grunt.registerTask('build-lite', ['gen_license', 'concat', 'clean_license']);
99107
};
100108

0 commit comments

Comments
 (0)