refactor(config): separate typedef
This commit is contained in:
parent
09d55e65f3
commit
0b101d0743
1 changed files with 5 additions and 2 deletions
|
@ -1,9 +1,12 @@
|
||||||
|
/**
|
||||||
|
* @typedef {import('nitropack').NitroConfig} NitroConfig
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the Nitro configuration for a McFly project
|
* Returns the Nitro configuration for a McFly project
|
||||||
* @typedef {import('nitropack').NitroConfig} NitroConfig
|
|
||||||
* @returns {NitroConfig}
|
* @returns {NitroConfig}
|
||||||
*/
|
*/
|
||||||
export default function McFly() {
|
export default function () {
|
||||||
return {
|
return {
|
||||||
devServer: {
|
devServer: {
|
||||||
watch: ["./src/pages", "./src/components"],
|
watch: ["./src/pages", "./src/components"],
|
||||||
|
|
Loading…
Reference in a new issue