joyent-portal/frontend/webpack/paths.js

18 lines
408 B
JavaScript
Raw Normal View History

2016-12-12 18:27:33 +02:00
const path = require('path');
const ROOT = path.join(__dirname, '../..');
const UI = path.join(ROOT, 'ui');
const FRONTEND = path.join(ROOT, 'frontend');
module.exports = {
ROOT,
MODULES: [
'node_modules',
2016-12-12 18:27:33 +02:00
path.join(FRONTEND, 'node_modules'),
path.join(UI, 'node_modules'),
],
FRONTEND: path.join(FRONTEND, 'src'),
UI: path.join(UI, 'src'),
STATIC: path.join(FRONTEND, 'static')
};