V
V
Vakha12019-03-20 18:46:27
webpack
Vakha1, 2019-03-20 18:46:27

How to transfer sass and css files from resources folder to public folder?

Tell me who knows.
There are 2 files in the resources folder - test.sass, test.css I need to transfer them into one file in the public / app.css folder
Through webpack.mix.js
I tried
mix.style([
"resources/test.css"
] , "public/css/app.css");
mix.sass("resources/test.sass", "public/css/app.css");
css has spilled over and sass hasn't.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Ostic, 2019-03-20
@Ostic

add the css file to the end of sass, then process sass and save it where you need it with the name and extension you need

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question