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
Subject of the issue
dd-touch.jsimportsUtilsvia:This creates a circular dependency warning when bundling (in my case with rollup.js).
The other
dd-*.jsfiles importUtilsvia:Simply changing the import statement in
dd-touch.jsto match the other files resolves the problem.Your environment
gridstack.js 11.4.0