Skip to content

Commit

Permalink
refactor: refactor playground config file
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-fadaei committed Mar 13, 2022
1 parent 06493a6 commit 5ed3997
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions playground/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { resolve } from 'path';
import { defineConfig } from 'vite';
import viteConfig from '../vite.config';

export default defineConfig({
...viteConfig,
root: resolve(__dirname, './'),
publicDir: resolve(__dirname, './public'),
build: undefined,
resolve: {
alias: {
'@': resolve(__dirname, '../src'),
'~': resolve(__dirname, './'),
},
},
base: 'https://upjs.github.io/facile-validator/',
});

0 comments on commit 5ed3997

Please sign in to comment.