Closed kylesloper closed 3 years ago
Hello! Thank you for your issue! Can you tell name of your output directory, please? It is strange behaviour for plugin π€ All styles should be inside output directory + public directory. As I see, you want to take styles from styles
and write compiled files to the same directory.
My output directory is set to .www
Hi! Sorry for late response. Try removing leading slash from publicDirectory. Although I could not replicate your issue π
Hey there, trying to use this really awesome plugin with this starter.
With the current syntax used with the plugin in
.eleventy.js
, styles are being injected into a new directory under every single page (see below)Here is my config:
And finally here is the terminal after running the plugin:
Is this the correct configuration for my file structure.. or is the plugin doing as expected and creating a new
styles
directory under each page in the site (which is obviously bulking up the site).Cheers.