You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We first noticed this issue when updating from 0.6.0 to 0.7.1.
If you are importing a function from the runtime directory into module.ts, it will fail if the full path to the file includes a period in the path. For example, in my case: /Users/connor.pearson/projects/my-module The directory with the period is parsed as the file instead of the actual file.
We first noticed this issue when updating from 0.6.0 to 0.7.1.
If you are importing a function from the runtime directory into
module.ts
, it will fail if the full path to the file includes a period in the path. For example, in my case:/Users/connor.pearson/projects/my-module
The directory with the period is parsed as the file instead of the actual file.Sample reproduction: https://github.com/cjpearson/nuxt-module-builder-filename-issue
To run:
yarn && yarn dev:prepare && yarn nuxt-module-build build
The project directory or one of its ancestors should include a "." in the path.
I've added an upstream issue here, but maybe this could be fixed by using
basename
here instead?The text was updated successfully, but these errors were encountered: