import type {SequenceNodePath} from 'remotion';
// Cache mapping source-mapped locations to resolved AST node paths.
//
// Problem: When the studio modifies a file (e.g. updating sequence props),
// we suppress the webpack rebuild so the source map becomes stale.
// If prettier then reformats the file, tags can shift lines:
//
// Before (source map says line 22):
// export const Component = () => {
// return ; // line 22
// };
//
// After adding style={{}} + prettier wrapping:
// export const Component = () => {
// return (
// // now line 23
// );
// };
//
// On reload, the stale source map still resolves to line 22, but the
// actual file now has the