Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

288
Views
Files in public folder not copying with create-react-app

I wanted to add a second stylesheet to my app that would be loaded by the server instead of javascript.

So I placed the file in the public folder. Then ran craco start.

It makes the build directory, with index.html, asset-manifest.json, and static/, but it isn't copying any other files I have in the public folder, such as the css I placed there, or the favicons that come packaged with cra.

Why isn't it copying the other files?

Note: I am overriding my webpack config with craco to turn writeToDisk on while in development.

// craco.config.js

module.exports = {
    devServer: (devServerConfig, { env, paths, proxy, allowedHost }) => {
        devServerConfig.devMiddleware.writeToDisk = true;
        return devServerConfig;
    },
}
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!