We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fafa30 commit 501c77bCopy full SHA for 501c77b
src/transform/plugins/includes/index.ts
@@ -77,7 +77,7 @@ function unfoldIncludes(state: StateCore, path: string, options: Options) {
77
}
78
} catch (e) {
79
// @ts-ignore for some reason typescript fails here
80
- const errPath = e.path.replace(root, '');
+ const errPath = e.path?.replace(root, '');
81
82
if (notFoundCb) {
83
notFoundCb(errPath);
0 commit comments