File tree Expand file tree Collapse file tree 4 files changed +21
-3
lines changed Expand file tree Collapse file tree 4 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 40
40
run : cp packages/core/demo/* docs/
41
41
- name : Replace path of entrypoint file
42
42
run : sed -i 's/..\/src\/index.ts/\/src\/main.ts/' docs/index.html
43
- # TODO: get .js.org domain
44
- # printf "discord-components.js.org" >> docs/public/CNAME
45
43
- name : Copy LICENSE and README
46
44
run : |
47
45
cp LICENSE.md docs/public/
Original file line number Diff line number Diff line change 5
5
"noEmit" : true ,
6
6
"types" : [" vite/client" ]
7
7
},
8
- "include" : [" src" ]
8
+ "include" : [" src" ],
9
+ "references" : [{ "path" : " ./tsconfig.node.json" }]
9
10
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "compilerOptions" : {
3
+ "composite" : true ,
4
+ "skipLibCheck" : true ,
5
+ "module" : " ESNext" ,
6
+ "moduleResolution" : " bundler" ,
7
+ "allowSyntheticDefaultImports" : true
8
+ },
9
+ "include" : [" vite.config.ts" ]
10
+ }
Original file line number Diff line number Diff line change
1
+ import { defineConfig } from 'vite' ;
2
+
3
+ export default defineConfig ( {
4
+ // TODO(CNAME): Remove when we get discord-components.js.org
5
+ base : '/discord-components/'
6
+ } ) ;
7
+
8
+ // TODO(CNAME): Run once when we get discord-components.js.org
9
+ // printf "discord-components.js.org" >> docs/public/CNAME
You can’t perform that action at this time.
0 commit comments