on-internet
← Community

Vite is not creating CSS source maps

Stack Overflow ·

I am new to Vite. I need to generate CSS sourcemap files. From what I have read in the Vite documentation, Vite itself is able to generate sourcemap files, without needing gulp task or whatever. I have my vite.config.js at the root because I need to watch files in different folders, but right now I am just working with the "theme" folder. My vite.config.js file: import { defineConfig } from "vite"; import path from "path"; export default defineConfig(async () => { const glob = (await import("glob")).glob; // Define themes and their SCSS paths const themes = ["theme_one", "theme_two"]; const sc

Comments

Sign in or sign up to comment and upvote.

No comments yet.