mattdesl / canvas-sketch

[beta] A framework for making generative artwork in JavaScript and the browser.
MIT License
4.97k stars 393 forks source link

Build files with CSS #184

Closed filipeedr closed 1 year ago

filipeedr commented 1 year ago

Hello, I don't know if this would be the best place for this, I apologize if not, but I'm still learning some programming stuff and I ran into a situation that I don't know how to solve.

My sketch file has 3 main files/folders: assets, index.html, index.js, style.css. I am using the following command to build:

canvas-sketch src/index.js --html=src/index.html --dir public --build --no-compress

But the style.css file doesn't get uploaded to the public directory, even though the rest of it works. What additional command should I enter to make it work?

filipeedr commented 1 year ago

Solved. The problem was just the stylesheet path :)