1
0

Create send function for API requests

This commit is contained in:
venashial
2022-06-25 00:17:42 -07:00
parent 2e6e1f4060
commit aec03294d6
10 changed files with 172 additions and 23 deletions

View File

@@ -20,10 +20,18 @@ export default {
default: true,
onError: 'continue',
},
alias: {
$generated: path.resolve('./generated'),
omorphia: path.resolve('./src'),
['$stores/account']: path.resolve('./docs/dummyStore.ts'),
},
vite: {
plugins: [
Generator({
gameVersions: true,
openapi: true,
}),
...plugins,
examples,
@@ -31,16 +39,9 @@ export default {
precompileIntl('locales'),
],
resolve: {
alias: {
$generated: path.resolve('./generated'),
omorphia: path.resolve('./src'),
},
},
build: {
rollupOptions: {
external: '/_app/COMPONENT_API.json',
external: ['/_app/COMPONENT_API.json'],
},
},