feat(frontend): streamline AI workflows and localize remaining UI copy
Move product and skin AI helpers into modal flows, simplify product edit/inventory navigation, and improve responsive actions so core forms are faster to use. Localize remaining frontend labels/placeholders and strip deprecated Rollup output options to remove deploy-time build warnings.
This commit is contained in:
parent
83ba4cc5c0
commit
d4fbc1faf5
15 changed files with 921 additions and 532 deletions
|
|
@ -3,8 +3,19 @@ import tailwindcss from '@tailwindcss/vite';
|
|||
import { defineConfig } from 'vite';
|
||||
import { paraglideVitePlugin } from '@inlang/paraglide-js';
|
||||
|
||||
const stripDeprecatedRollupOptions = {
|
||||
name: 'strip-deprecated-rollup-options',
|
||||
outputOptions(options: Record<string, unknown>) {
|
||||
if ('codeSplitting' in options) {
|
||||
delete options.codeSplitting;
|
||||
}
|
||||
return options;
|
||||
}
|
||||
};
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
stripDeprecatedRollupOptions,
|
||||
paraglideVitePlugin({ project: './project.inlang', outdir: './src/lib/paraglide' }),
|
||||
tailwindcss(),
|
||||
sveltekit()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue