L
L
lorentso2021-07-22 13:34:02
Web development
lorentso, 2021-07-22 13:34:02

How to compile files in snowpack builder?

I am asking a question to those who have worked with the Snowpack builder.
I want to understand how files are compiled in it.
In particular, I cannot understand. How can I set the paths of the source files and the resulting folder.
I connected the stylus plugin, in the end I see that all files will be watched, but I don’t know how to compile, for example, stylus to css

, this is how the file structure looks like

60f948441a750813783702.png

in the snowpack.config.js file, I wrote this code

export default {
    plugins: [
    "snowpack-plugin-stylus",
    "snowpack-plugin-pug",
    ],
  };


How and where to prescribe the initial and final - I'm digging into the documentation and I can't make it out.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question