Answer the question
In order to leave comments, you need to log in
How to tell webpack to find all css files in subfolders?
Hi all. How not to write exact paths to css files? You just need to specify - find in such and such a folder in all css subfolders? Now here is such a hemorrhoids:
module.exports = {
entry: {
'blocks.css': [
path.resolve(__dirname, 'template-parts/blocks/before-after/before-after.css'),
path.resolve(__dirname, 'template-parts/blocks/columns/columns.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