Comments (1)
Just so I’m clear here, you’re calling Eleventy programmatically like this:
const elev = new Eleventy(
"./tests/fixtures/minimal/",
"./tests/fixtures/minimal/_site",
{
configPath: "./tests/fixtures/minimal/.eleventy.js"
}
);
This sets input to "./tests/fixtures/minimal/"
and output to "./tests/fixtures/minimal/_site"
. What is the intent/purpose of returning dir
in your config file? Those two values conflict.
from eleventy.
Related Issues (20)
- More extensible template syntax chaining. HOT 5
- New deprecation warnings stemming from `recursive-copy@^2.0.14` HOT 6
- Breaking: Aliased template syntax must be explicitly listed in template formats HOT 1
- No “Template render error” or rendering stops when a fault Nunjucks file is inside an if-statement HOT 2
- Support `tsx` with CommonJS config files HOT 2
- Expose Universal Filters and Shortcodes in configuration API (to load into custom engines that support them) HOT 3
- inputPathToUrl plugin doesn't respect relative paths for links in non-top level templates HOT 2
- eleventyConfig.resolvePlugin to add core-bundled Eleventy plugins without require/import HOT 1
- Also expose date as extra Luxon object
- `--quiet=true` doesn't set `config.quietMode` to `true` HOT 1
- New transforms-esque feature that runs earlier, modifies HTML before inserted in collections/layouts HOT 1
- v3.0.0-alpha.11 Regression with InputPathToUrl plugin: `#anchor` Links Point to Root `/` HOT 2
- `renderTransforms` filter not rendering `inputPathToUrl` transform plugin HOT 4
- Hot reload is only working for files in the root directory (WSL) HOT 2
- Eleventy 3.0.0-alpha.13: Content date results in TemplateContentPrematureUseError: Tried to use templateContent too early on error HOT 3
- `page.outputFileExtension` does not take into account the value of `permalink` HOT 2
- `--incremental=filename.md` for incremental build without `--watch` or `--serve` HOT 12
- 11ty don't recognize multiline shortcode LiquidJS HOT 1
- eleventyConfig.addExtension() not working as expected since 3.0.0-alpha.11 HOT 5
- Remove `htmlOutputSuffix` Common Pitfall when input and output directories match. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eleventy.