flecks/packages/fleck/build/flecks.bootstrap.js

21 lines
436 B
JavaScript
Raw Normal View History

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,
'@flecks/core.config': () => ({
/**
2023-11-30 21:41:42 -06:00
* Webpack stats configuration.
*/
stats: {
colors: true,
2023-11-30 21:41:42 -06:00
errorDetails: true,
},
}),
'@flecks/core.targets': () => ['fleck'],
2024-01-22 09:16:07 -06:00
'@flecks/build.processAssets': hook,
2022-02-25 04:58:08 -06:00
};