File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 44 "description" : " Javascript Framework" ,
55 "main" : " dist/index.js" ,
66 "scripts" : {
7- "serve" : " rm -fr dist && install -d dist && esbuild src/index.html src/index.js --outdir=dist --format=esm --sourcemap --minify --bundle --loader:.svg=file --loader:.woff=file --loader:.woff2=file --loader:.ttf=file --loader:.otf=file --loader:.html=copy --watch --serve" ,
8- "build" : " rm -fr dist && install -d dist && esbuild src/index.js --outdir=dist --format=esm --sourcemap --minify --bundle --loader:.svg=file --loader:.woff=file --loader:.woff2=file --loader:.ttf=file --loader:.otf=file --loader:.html=copy " ,
7+ "serve" : " rm -fr dist && install -d dist && esbuild src/index.html src/index.js --outdir=dist --format=esm --sourcemap --minify --bundle --loader:.svg=file --loader:.woff=file --loader:.woff2=file --loader:.ttf=file --loader:.otf=file --loader:.html=copy --watch --serve" ,
8+ "build" : " rm -fr dist && install -d dist && esbuild src/index.js --outdir=dist --format=esm --sourcemap --minify --bundle --loader:.svg=file --loader:.woff=file --loader:.woff2=file --loader:.ttf=file --loader:.otf=file" ,
99 "lint" : " eslint -c config/eslint.config.mjs src/*.js" ,
1010 "docs" : " jsdoc -c config/jsdoc.config.json"
1111 },
Original file line number Diff line number Diff line change 55 < meta charset ="utf-8 ">
66 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
77 < title > Storybook</ title >
8- < script type ="module " src ="./ index.js " defer > </ script >
9- < link href ="./ index.css " rel ="stylesheet ">
8+ < script type ="module " src ="index.js " defer > </ script >
9+ < link href ="index.css " rel ="stylesheet ">
1010</ head >
1111
1212< body >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import './component/button/ButtonGroupElement';
1111import './component/button/CloseButtonElement' ;
1212
1313// Badges
14- import './component/badge/BadgeElement' ;
14+ import { BadgeElement } from './component/badge/BadgeElement' ;
1515import './component/badge/BadgeGroupElement' ;
1616
1717customElements . define ( BadgeElement . localName , BadgeElement ) ; // wc-badge
@@ -57,5 +57,5 @@ import './css/document.css';
5757
5858// Other
5959import './esbuild.js' ;
60- import './test.js' ; import { BadgeElement } from './component/badge/BadgeElement' ;
60+ import './test.js' ;
6161
You can’t perform that action at this time.
0 commit comments