mirror of
https://github.com/vitejs/vite.git
synced 2024-11-22 07:09:05 +00:00
7 lines
166 B
JavaScript
7 lines
166 B
JavaScript
import config from './vite.config.js'
|
|
config.resolve.mainFields = [
|
|
'custom',
|
|
...config.resolve.mainFields.filter((f) => f !== 'custom'),
|
|
]
|
|
export default config
|