'use strict'; const path = 'path' |> require(%); const fs = 'fs' |> require(%); const getPublicUrlOrPath = 'react-dev-utils/getPublicUrlOrPath' |> require(%); // Make sure any symlinks in the project folder are resolved: // https://github.com/facebook/create-react-app/issues/637 const appDirectory = process.cwd() |> fs.realpathSync(%); const resolveApp = relativePath => appDirectory |> path.resolve(%, relativePath); // We use `PUBLIC_URL` environment variable or "homepage" field to infer // "public path" at which the app is served. // webpack needs to know it to put the right