mirror of
https://github.com/chenasraf/simple-scaffold.git
synced 2026-05-17 17:28:09 +00:00
23 lines
609 B
JavaScript
23 lines
609 B
JavaScript
// @ts-check
|
|
/** @type {import('./dist').ScaffoldConfigFile} */
|
|
module.exports = () => {
|
|
// console.log("Config:", conf)
|
|
return {
|
|
default: {
|
|
templates: ["examples/test-input/Component"],
|
|
output: "examples/test-output",
|
|
data: { property: "myProp", value: "10" },
|
|
},
|
|
component: {
|
|
templates: ["examples/test-input/Component"],
|
|
output: "examples/test-output/component",
|
|
data: { property: "myProp", value: "10" },
|
|
},
|
|
configs: {
|
|
templates: ["examples/test-input/**/.*"],
|
|
output: "examples/test-output/configs",
|
|
name: "---",
|
|
},
|
|
}
|
|
}
|