无法找到 Mix 文件:/assets/css/animate.css

Unable to locate Mix file: /assets/css/animate.css

我将 laravel 托管到 aws.I 使用 public/assets/... 文件夹作为前端。 webpack.mix.js

const mix = require("laravel-mix");

mix.js("resources/js/app.js", "public/assets/js").postCss(
    "resources/css/app.css",
    "public/assets/css",
    [require("postcss-import"), require("tailwindcss")]
);
if (mix.inProduction()) {
    mix.version();
}

我必须将 mix() 更改为 asset()