chore: tidy
This commit is contained in:
parent
08898a5e19
commit
c552a64ee5
|
@ -25,6 +25,13 @@ exports.hooks = {
|
||||||
*/
|
*/
|
||||||
'server.webpack.config.js',
|
'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': () => ({
|
'@flecks/core.config': () => ({
|
||||||
/**
|
/**
|
||||||
* Whether HMR is enabled.
|
* Whether HMR is enabled.
|
||||||
|
@ -49,11 +56,4 @@ exports.hooks = {
|
||||||
preset: 'minimal',
|
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