File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 4
4
< head >
5
5
< meta charset ="utf-8 ">
6
6
< title > Lit tsParticles Demo</ title >
7
- < script type ="module " src ="../node_modules/lit-tsparticles/ lib/lit-tsparticles .js "> </ script >
7
+ < script type ="module " src ="../lib/index .js "> </ script >
8
8
< style >
9
9
p {
10
10
border : solid 1px blue;
Original file line number Diff line number Diff line change 11
11
"lint" : " lit-analyzer && eslint 'src/**/*.ts'" ,
12
12
"format" : " prettier src/* --write" ,
13
13
"analyze" : " wca analyze \" src/**/*.ts\" --outFile custom-elements.json" ,
14
- "serve" : " es-dev-server --app-index dev/index.html --node-resolve --watch --open " ,
14
+ "serve" : " es-dev-server" ,
15
15
"checksize" : " rollup -c ; cat my-element.bundled.js | gzip -9 | wc -c ; rm my-element.bundled.js"
16
16
},
17
17
"keywords" : [
Original file line number Diff line number Diff line change
1
+ export default {
2
+ open : true ,
3
+ watch : true ,
4
+ nodeResolve : true ,
5
+ appIndex : 'demo/index.html' ,
6
+ // in a monorepo you need to set the root dir to resolve modules
7
+ rootDir : '../../' ,
8
+ } ;
You can’t perform that action at this time.
0 commit comments