flecks/packages/docker/build/flecks.bootstrap.js
2024-01-20 05:18:18 -06:00

17 lines
366 B
JavaScript

const FlecksDockerOutput = require('./plugin');
exports.hooks = {
'@flecks/core.build': (target, config, env, argv, flecks) => {
if ('server' !== target) {
return;
}
config.plugins.push(new FlecksDockerOutput({flecks}));
},
'@flecks/core.config': () => ({
/**
* Whether to run docker containers.
*/
enabled: true,
}),
};