chore: tidy
This commit is contained in:
parent
08898a5e19
commit
c552a64ee5
|
@ -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');
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user