Looks like vite only supports the global property for enabling sourcemaps.  Would you like a PR for this?