@dlongley: "I wonder if this method might be problematic ... and if we should use require.resolve or if the information is already in the package object that bedrock-views generated (I thought maybe we did this somewhere to produce package paths already). If we do generate this path already (or a path to the root package at least), it would be good to reuse that so the code stays in one place.
Leaving this comment here but it shouldn't be a blocker, just worth investigating."
@dlongley: "I wonder if this method might be problematic ... and if we should use require.resolve or if the information is already in the package object that bedrock-views generated (I thought maybe we did this somewhere to produce package paths already). If we do generate this path already (or a path to the root package at least), it would be good to reuse that so the code stays in one place.
Leaving this comment here but it shouldn't be a blocker, just worth investigating."