2024-01-16 00:28:20 -06:00
|
|
|
const {join} = require('path');
|
2024-01-13 04:46:07 -06:00
|
|
|
|
2024-01-22 09:16:07 -06:00
|
|
|
const {hook} = require('@flecks/build/build/process-assets');
|
2024-01-13 04:46:07 -06:00
|
|
|
|
2024-01-16 00:28:20 -06:00
|
|
|
const commands = require('./commands');
|
2022-02-25 04:58:08 -06:00
|
|
|
|
2024-01-16 00:28:20 -06:00
|
|
|
exports.hooks = {
|
2024-01-22 09:16:07 -06:00
|
|
|
'@flecks/build.commands': commands,
|
2022-08-10 10:09:02 -05:00
|
|
|
'@flecks/core.config': () => ({
|
|
|
|
/**
|
2023-11-30 21:41:42 -06:00
|
|
|
* Webpack stats configuration.
|
2022-08-10 10:09:02 -05:00
|
|
|
*/
|
|
|
|
stats: {
|
|
|
|
colors: true,
|
2023-11-30 21:41:42 -06:00
|
|
|
errorDetails: true,
|
2022-08-10 10:09:02 -05:00
|
|
|
},
|
|
|
|
}),
|
|
|
|
'@flecks/core.targets': () => ['fleck'],
|
2024-01-22 09:16:07 -06:00
|
|
|
'@flecks/build.processAssets': hook,
|
2022-02-25 04:58:08 -06:00
|
|
|
};
|