nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

paths.js (400B)


      1 'use strict';
      2 
      3 const path = require('path');
      4 
      5 function resolveApp(relativePath) {
      6     return path.resolve(__dirname, '..', relativePath);
      7 }
      8 
      9 // config after eject: we're in ./config/
     10 module.exports = {
     11     appBuild: resolveApp('build'),
     12     appPublic: resolveApp('public'),
     13     appIndexJs: resolveApp('src/index.js'),
     14     appIndexHtml: resolveApp('src/index.html'),
     15     appSrc: resolveApp('src'),
     16 };