chore: tidy

This commit is contained in:
cha0s 2024-02-06 17:44:17 -06:00
parent 08898a5e19
commit c552a64ee5

View File

@ -25,6 +25,13 @@ exports.hooks = {
*/
'server.webpack.config.js',
],
'@flecks/build.targets': () => ['server'],
'@flecks/build.targets.alter': (targets) => {
// Don't build if there's a fleck target.
if (targets.has('fleck')) {
targets.delete('server');
}
},
'@flecks/core.config': () => ({
/**
* Whether HMR is enabled.
@ -49,11 +56,4 @@ exports.hooks = {
preset: 'minimal',
},
}),
'@flecks/build.targets': () => ['server'],
'@flecks/build.targets.alter': (targets) => {
// Don't build if there's a fleck target.
if (targets.has('fleck')) {
targets.delete('server');
}
},
};