PR CI / ledger (pull_request) Successful in 4s
PR CI / flow (pull_request) Successful in 4s
PR CI / test (stable) (pull_request) Successful in 45s
PR CI / ui (pull_request) Successful in 48s
PR CI / test (lowest) (pull_request) Successful in 50s
PR CI / security (pull_request) Successful in 54s
PR CI / pr-ci (pull_request) Successful in 2s
PR CI / release-automerge (pull_request) Successful in 3s
25 lines
806 B
TypeScript
25 lines
806 B
TypeScript
import tailwindcss from '@tailwindcss/vite';
|
|
import vue from '@vitejs/plugin-vue';
|
|
import { defineConfig } from 'vite';
|
|
|
|
// One script and one stylesheet with fixed names: the package serves them itself (resources/dist), so a site needs
|
|
// no Node. `npm run build` here, and commit the result.
|
|
export default defineConfig({
|
|
plugins: [vue(), tailwindcss()],
|
|
build: {
|
|
outDir: '../resources/dist',
|
|
emptyOutDir: true,
|
|
cssCodeSplit: false,
|
|
sourcemap: false,
|
|
rollupOptions: {
|
|
input: 'src/main.ts',
|
|
output: {
|
|
entryFileNames: 'manager.js',
|
|
chunkFileNames: 'manager-[name].js',
|
|
assetFileNames: 'manager[extname]',
|
|
inlineDynamicImports: true,
|
|
},
|
|
},
|
|
},
|
|
});
|