-
-
Notifications
You must be signed in to change notification settings - Fork 494
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
eleventyConfig.addExtension() not working as expected since 3.0.0-alpha.11 #3326
Comments
What are you using to process your .tsx files? We have approaches for both esbuild-register and |
Hey,
|
When I tried with:
then I get an error because content is an object and not a string. With and additional
with following code i get the same error
|
I played a bit more around and get it to run.
My (dirty) example code:
and ther command to start: I would say the main problem was sadly in front of my computer. But thx for the great project and your fast response :) |
No worries at all! Glad you got it working! |
Operating system
macOS - node v18.19.1 - npx v10.2.4
Eleventy
3.0.0-alpha.11 - 3.0.0-alpha.13
Describe the bug
Hi guys,
I tryed my first step and followed a beginner tutorial. when it comes to the point, where switching from js to ts(x), the build is no longer working. With js it works perfect.
my config file:
I also tested with "bar.js" to be sure it's not a TS issue.
(the console.log(234) can be ignored it comes from my foo.bar.js test file)
When I downgrade the version of @11ty/eleventy to alpha.10 it works as expected with 11 or newer it breaks.
Thanks guys :)
Reproduction steps
Expected behavior
should handle all files as expected ;)
Reproduction URL
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: