netzo / fresh-netzo

Full-stack Deno Fresh meta-framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
https://netzo.io
MIT License
51 stars 3 forks source link

Incorrect instruction about the config object? #149

Closed librejutsu closed 8 months ago

librejutsu commented 8 months ago

A comment in the plugin.ts file states that you could choose not to provide a config object:

// A uno.config.ts file is required in the project directory if // a config object is not provided, or to use the browser runtime const configFileURL = new URL("[./uno.config.ts](https://deno.land/x/netzo@0.4.57/plugins/unocss/uno.config.ts?source)", Deno.mainModule).href;

However the type makes the config object mandatory. I think what you meant is that "if an empty object is provided"? Thanks.

miguelrk commented 8 months ago

You're right @librejutsu, the config object is mandatory, I'll fix the comment to say so 👍🏼 ... thanks for this!