File tree Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 24
24
],
25
25
"scripts" : {
26
26
"build" : " stencil build --docs" ,
27
- "start" : " stencil build --dev --watch --serve" ,
27
+ "start" : " stencil build --dev --watch --serve --config stencil.config.dev.ts " ,
28
28
"test" : " stencil test --spec --e2e" ,
29
29
"test.watch" : " stencil test --spec --e2e --watchAll"
30
30
},
Original file line number Diff line number Diff line change
1
+ import { Config } from '@stencil/core' ;
2
+ import builtins from '@joseph184/rollup-plugin-node-builtins' ;
3
+
4
+ export const config : Config = {
5
+ namespace : 'microbit' ,
6
+ commonjs : {
7
+ namedExports : {
8
+ 'node_modules/microbit-web-bluetooth/lib/index.js' : [ 'getServices' , 'requestMicrobit' ]
9
+ }
10
+ } ,
11
+ plugins : [
12
+ builtins ( ) ,
13
+ ] ,
14
+ outputTargets : [
15
+ { type : 'dist' } ,
16
+ { type : 'docs' } ,
17
+ {
18
+ type : 'www' ,
19
+ serviceWorker : null
20
+ }
21
+ ]
22
+ } ;
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ export const config: Config = {
16
16
{ type : 'docs' } ,
17
17
{
18
18
type : 'www' ,
19
+ baseUrl : '/microbit-web-components/www/' ,
19
20
serviceWorker : null
20
21
}
21
22
]
You can’t perform that action at this time.
0 commit comments