Answer the question
In order to leave comments, you need to log in
How to configure Webpack for theme layout, without being tied to JS files?
Hello everyone, there is something like this folder structure ./src/
:
.
├── html
│ ├── category.html
│ └── index.html
├── js
│ └── index.js
└── sass
├── critical.sass
├── main.sass
└── _variables.sass
.
├── category.html
├── index.html
├── js
│ └── index.min.js
└── styles
├── critical.min.css
└── main.min.css
./src/html/
to folder ./dist/
. Later these files will be used to integrate the layout into the engine.critical.sass
both main.sass
processed by the preprocessor and exported to a folder./dist/styles/[name].min.css
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question