-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(assets): support for layers #618
Conversation
Deploying nuxt-devtools with Cloudflare Pages
|
const publicDir = resolve(nuxt.options.srcDir, nuxt.options.dir.public) | ||
const layerDirs = [publicDir, ...nuxt.options._layers.map(layer => resolve(layer.cwd, layer.config?.public ?? 'public'))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public
is not presented in the type - can you double check with this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll go with hard-coded one first, feel free to update it later if there is a better way to do so
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@antfu okay, thanks
close #560