vite/playground/css-sourcemap/vite.config-lib-entry.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
247 B
JavaScript
Raw Permalink Normal View History

import { defineConfig } from 'vite'
export default defineConfig({
build: {
cssCodeSplit: true,
sourcemap: true,
outDir: 'dist/lib-entry',
lib: {
entry: ['./index.js', './linked.css'],
formats: ['es'],
},
},
})