File tree Expand file tree Collapse file tree 4 files changed +16
-16
lines changed
Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1- <!doctype html>
1+ <!DOCTYPE html>
22< html lang ="en ">
3- < head >
4- < meta charset ="utf-8 ">
5- < title > custom-element demo</ title >
6- </ head >
7- < body >
8- < custom-element > </ custom-element >
3+ < head >
4+ < meta charset ="utf-8 " / >
5+ < title > custom-element demo</ title >
6+ </ head >
7+ < body >
8+ < custom-element > </ custom-element >
99
10- < script type ="module ">
11- // import 'https://unpkg.com/@github/custom-element-boilerplate@latest/dist/index .js'
12- import '../dist/index .js'
13- </ script >
14- </ body >
10+ < script type ="module ">
11+ // import 'https://unpkg.com/@github/custom-element-boilerplate@latest/dist/custom-element .js'
12+ import '../dist/custom-element .js'
13+ </ script >
14+ </ body >
1515</ html >
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ module.exports = function(config) {
22 config . set ( {
33 frameworks : [ 'mocha' , 'chai' ] ,
44 files : [
5- { pattern : 'dist/index .js' , type : 'module' } ,
5+ { pattern : 'dist/custom-element .js' , type : 'module' } ,
66 { pattern : 'test/test.js' , type : 'module' }
77 ] ,
88 reporters : [ 'mocha' ] ,
Original file line number Diff line number Diff line change 22 "name" : " @github/custom-element-element" ,
33 "version" : " 0.0.1" ,
44 "description" : " Boilerplate for creating a custom element." ,
5- "main" : " dist/index .js" ,
6- "module" : " dist/index .js" ,
5+ "main" : " dist/custom-element .js" ,
6+ "module" : " dist/custom-element .js" ,
77 "type" : " module" ,
8- "types" : " dist/index .d.ts" ,
8+ "types" : " dist/custom-elements .d.ts" ,
99 "license" : " MIT" ,
1010 "repository" : " github/custom-element-boilerplate" ,
1111 "files" : [
File renamed without changes.
You can’t perform that action at this time.
0 commit comments