Similar to the issue where you can't use spaces in filenames (https://github.com/plentico/plenti/issues/82), it seems like if you try to use a hyphen (-) instead of an underscore (_) you get a somewhat convoluted error:
build.go:152:
Error in Client build step
Could not get all layouts Could not add SSR Component for layouts/content/event-list.svelte: SyntaxError: Unexpected token '-'
Not sure if this is a bug that was introduced recently, but using hyphens in filenames is probably pretty common. We should allow this.
Similar to the issue where you can't use spaces in filenames (https://github.com/plentico/plenti/issues/82), it seems like if you try to use a hyphen (
-
) instead of an underscore (_
) you get a somewhat convoluted error:Not sure if this is a bug that was introduced recently, but using hyphens in filenames is probably pretty common. We should allow this.