2022-02-25 04:58:08 -06:00
|
|
|
import {Hooks} from '@flecks/core';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
[Hooks]: {
|
2022-03-08 16:03:06 -06:00
|
|
|
'@flecks/core.config': () => ({
|
2022-03-09 14:43:54 -06:00
|
|
|
/**
|
|
|
|
* Whether HMR is enabled.
|
|
|
|
*/
|
2022-02-28 05:16:24 -06:00
|
|
|
hot: false,
|
2022-03-09 14:43:54 -06:00
|
|
|
/**
|
2022-04-04 03:11:40 -05:00
|
|
|
* Arguments to pass along to node. See: https://nodejs.org/api/cli.html
|
2022-03-09 14:43:54 -06:00
|
|
|
*/
|
2022-04-04 03:11:40 -05:00
|
|
|
nodeArgs: [],
|
2022-03-09 14:43:54 -06:00
|
|
|
/**
|
|
|
|
* Whether to start the server after building.
|
|
|
|
*/
|
2022-03-10 15:06:22 -06:00
|
|
|
start: true,
|
2022-03-12 07:01:00 -06:00
|
|
|
/**
|
|
|
|
* Webpack stats configuration when building server target.
|
|
|
|
*/
|
|
|
|
stats: {
|
|
|
|
chunks: false,
|
|
|
|
colors: true,
|
|
|
|
modules: false,
|
|
|
|
},
|
2022-02-25 04:58:08 -06:00
|
|
|
}),
|
|
|
|
},
|
|
|
|
};
|