Skip to content

The CLI does not take the custom folders into account. #47

@bfovez

Description

@bfovez

Lots of imports like this in the installed code:
import { ... } from '$lib/datagrid/...'
import { ... } from '$lib/datagrid-enhanced/...'
even if the CLI was told other folders than the default ones (/src/lib/datagrid and /src/lib/datagrid-enhanced).

Worse, lots of imports like this (double-dotted) :
import { ... } from "../../../datagrid/plugins/...".
This pattern ruins the custom 'datagrid-enhanced' folder if we chose, say ".src/lib/components/datagrid/enhanced".

It would probably better to stick with this pattern (using $lib):
$lib/<datagrid-enhanced-custom-folder>/...
throughout the code base, in a coherent manner.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions