Create a vite.config.js
file and define your project root and output directory as such:
module.exports = {
root: 'src',
build: {
outDir: '../dist'
}
}
For more info, checkout config.
Create a vite.config.js
file and define your project root and output directory as such:
module.exports = {
root: 'src',
build: {
outDir: '../dist'
}
}
For more info, checkout config.