new build script + fix draw
This commit is contained in:
parent
ed35f967b0
commit
806c8925c9
5 changed files with 12 additions and 2 deletions
|
|
@ -14,8 +14,12 @@ const options = {
|
|||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react(), mdx(options)],
|
||||
build: {
|
||||
outDir: '../out/tutorial',
|
||||
},
|
||||
base: '/tutorial/',
|
||||
});
|
||||
|
||||
// jsxRuntime:'classic' to prevent "jsxDevRuntime.exports.jsxDEV is not a function" for dev mode
|
||||
// mode: 'development',
|
||||
// react({ jsxRuntime: 'classic' }),
|
||||
// react({ jsxRuntime: 'classic' }),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue