Skip to content

Instantly share code, notes, and snippets.

@wongni
Created January 11, 2018 16:19
Show Gist options
  • Save wongni/cbe2846e80996a6eaec8256e990bbf3f to your computer and use it in GitHub Desktop.
Save wongni/cbe2846e80996a6eaec8256e990bbf3f to your computer and use it in GitHub Desktop.
// config after eject: we're in ./config/
module.exports = {
dotenv: resolveApp('.env'),
appBuild: resolveApp('build'),
appPublic: resolveApp('public'),
appHtml: resolveApp('public/index.html'),
appIndexJs: resolveApp('src/index.js'),
appPackageJson: resolveApp('package.json'),
appSrc: resolveApp('src'),
yarnLockFile: resolveApp('yarn.lock'),
testsSetup: resolveApp('src/setupTests.js'),
appNodeModules: resolveApp('node_modules'),
publicUrl: getPublicUrl(resolveApp('package.json')),
servedPath: getServedPath(resolveApp('package.json')),
styles: resolveApp('src/styles') // add this
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment