import vitepack from '@mostlyserious/vitepack';
// import realFavicon from '@mostlyserious/vitepack/plugin/real-favicon';
const args = {
base: '/static/',
outDir: 'web/static'
};
export default vitepack(args, config => {
config.build.rollupOptions = {
input: [
'src/js/main.js',
'src/js/cp.js'
]
};
config.resolve.alias['@icons'] = '/web/icons';
// config.plugins.unshift(realFavicon({
// input: 'src/favicon/config.json'
// }));
return config;
});
-
Notifications
You must be signed in to change notification settings - Fork 1
mostlyserious/vitepack
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
ย | ย | |||
Repository files navigation
About
๐ Reasonable Vite config boilerplate.
Resources
Stars
Watchers
Forks
Packages 0
No packages published