vite.styles-prebuilt.config.ts 391 B

123456789101112131415161718
  1. import { defineConfig } from 'vite';
  2. // https://vitejs.dev/config/
  3. export default defineConfig({
  4. publicDir: false,
  5. build: {
  6. outDir: 'src/styles/prebuilt',
  7. rollupOptions: {
  8. input: [
  9. '/src/styles/theme/apply-colors.scss',
  10. '/src/styles/vendor.scss',
  11. ],
  12. output: {
  13. assetFileNames: '[name].[ext]', // not attach hash
  14. },
  15. },
  16. },
  17. });