응 넥제로 갈아타면 그만이야~
This commit is contained in:
parent
ffd421a1f1
commit
b8c25c35b4
34 changed files with 460 additions and 9725 deletions
|
|
@ -1,19 +0,0 @@
|
|||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react-swc'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
react(),
|
||||
// Custom plugin to load markdown files
|
||||
{
|
||||
name: "markdown-loader",
|
||||
transform(code, id) {
|
||||
if (id.slice(-3) === ".md") {
|
||||
// For .md files, get the raw content
|
||||
return `export default ${JSON.stringify(code)};`;
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue