Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to resolve 'undefined' #43

Open
katzmo opened this issue Nov 30, 2021 · 1 comment
Open

Failed to resolve 'undefined' #43

katzmo opened this issue Nov 30, 2021 · 1 comment

Comments

@katzmo
Copy link

katzmo commented Nov 30, 2021

After upgrading from posthtml-extend 0.6.0 to 0.6.1 building (with parcel) fails because it cannot find the template files anymore.

In my .posthtmlrc I have

    "posthtml-extend": {
      "root": "src/html/",
      "strict": false
    }

Now <extends src="templates/static-page.html"> in index.html gives me the following error:

Build failed.
@parcel/core: Failed to resolve 'undefined' from './src/html/index.html'
@parcel/resolver-default: Cannot load file './undefined' in './src/html'.

To be sure it's not some other node module, I've upgraded posthtml-extend only. With 0.6.0 everything works, with 0.6.1 it doesn’t. Any ideas appreciated!

@katzmo
Copy link
Author

katzmo commented Dec 13, 2021

Issue is still the same with posthtml-extend 0.6.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant