Skip to content

Circular dependency: 'dd-touch.js' incorrectly imports 'Utils' from './gridstack' #2980

@timclutton

Description

@timclutton

Subject of the issue

dd-touch.js imports Utils via:

import { Utils } from './gridstack';

This creates a circular dependency warning when bundling (in my case with rollup.js).

The other dd-*.js files import Utils via:

import { Utils } from './utils';

Simply changing the import statement in dd-touch.js to match the other files resolves the problem.

Your environment

gridstack.js 11.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions