config-overrides.js 366 B

123456789101112
  1. const path = require('path');
  2. // const darkTheme = require("@ant-design/dark-theme").default;
  3. module.exports = {
  4. // The paths config to use when compiling your react app
  5. // for development or production.
  6. paths: function (paths, env) {
  7. // ...add your paths config
  8. paths.appBuild = path.resolve(__dirname, '../server/build');
  9. return paths;
  10. },
  11. };