mirror of
https://github.com/hanzoai/vite.git
synced 2026-10-30 19:36:16 +00:00
fix #1776 BREAKING CHANGE: the "css" property of build manifest entries is now an array because it is possible for an entry to link to multiple generated css files.
14 lines
241 B
JavaScript
14 lines
241 B
JavaScript
const { resolve } = require('path')
|
|
|
|
module.exports = {
|
|
build: {
|
|
manifest: true,
|
|
rollupOptions: {
|
|
input: {
|
|
main: resolve(__dirname, './index.html'),
|
|
other: resolve(__dirname, './other.js')
|
|
}
|
|
}
|
|
}
|
|
}
|