File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
< head >
5
5
< meta charset ="utf-8 ">
6
6
< title > <my-element> Demo</ title >
7
- < script type ="module " src ="../my-element.js "> </ script >
7
+ < script type ="module " src ="../dist/ my-element.js "> </ script >
8
8
< style >
9
9
p {
10
10
border : solid 1px blue;
Original file line number Diff line number Diff line change 27
27
"test:watch" : " karma start karma.conf.cjs --auto-watch=true --single-run=false" ,
28
28
"test:update-snapshots" : " karma start karma.conf.cjs --update-snapshots" ,
29
29
"test:prune-snapshots" : " karma start karma.conf.cjs --prune-snapshots" ,
30
- "checksize" : " rollup -c ; cat my-element.bundled.js | gzip -9 | wc -c ; rm my-element.bundled.js"
30
+ "checksize" : " rollup -c ; cat dist/ my-element.bundled.js | gzip -9 | wc -c ; rm dist/ my-element.bundled.js"
31
31
},
32
32
"keywords" : [
33
33
" web-components" ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import {terser} from 'rollup-plugin-terser';
20
20
export default {
21
21
input : 'dist/my-element.js' ,
22
22
output : {
23
- file : 'my-element.bundled.js' ,
23
+ file : 'dist/ my-element.bundled.js' ,
24
24
format : 'esm' ,
25
25
} ,
26
26
onwarn ( warning ) {
You can’t perform that action at this time.
0 commit comments