refactor: Overhaul Plugin Architecture & Playground UI (#1846)
* refactor: Move Plugins Out and Consolidate with Multisrc * feat: Overhaul Playground UI * feat: Add Filters to New UI * feat: Persist Selected Plugin * feat: Add Direct Parse Novel/Chapter Options and Feedback Toasts [skip ci] * feat: UX Improvements * chore: Update Plugin Path in Publish Workflow * fix: Add Backward Compatibility * chore: Update Plugin Publishing Script
This commit is contained in:
committed by
GitHub
parent
252beff0bf
commit
20c2b75b01
+4
-9
@@ -3,6 +3,7 @@ import react from '@vitejs/plugin-react-swc';
|
||||
import { nodePolyfills } from 'vite-plugin-node-polyfills';
|
||||
import path from 'path';
|
||||
import { fileURLToPath } from 'url';
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
import { proxyHandlerMiddle, proxySettingMiddleware } from './proxy';
|
||||
|
||||
const dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
@@ -10,6 +11,7 @@ const dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
tailwindcss(),
|
||||
nodePolyfills(),
|
||||
react({ devTarget: 'es5' }),
|
||||
{
|
||||
@@ -22,16 +24,9 @@ export default defineConfig({
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(dirname, './src'),
|
||||
'@plugins': path.resolve(dirname, './plugins'),
|
||||
'@libs': path.resolve(dirname, './src/libs'),
|
||||
'@icons': path.resolve(dirname, './src/icons'),
|
||||
'@components': path.resolve(dirname, './src/components'),
|
||||
'@redux': path.resolve(dirname, './src/redux'),
|
||||
'@provider': path.resolve(dirname, './src/provider'),
|
||||
'@plugins': path.resolve(dirname, './src/plugins'),
|
||||
'@hooks': path.resolve(dirname, './src/hooks'),
|
||||
'@typings': path.resolve(dirname, './src/types'),
|
||||
'@scripts': path.resolve(dirname, './scripts'),
|
||||
'@store': path.resolve(dirname, './src/store'),
|
||||
},
|
||||
},
|
||||
server: {
|
||||
|
||||
Reference in New Issue
Block a user