1
0
mirror of https://github.com/SomboChea/ui synced 2026-01-19 01:25:51 +07:00

chore: fix webpack build

This commit is contained in:
Juan Picado @jotadeveloper
2019-04-04 21:45:26 +02:00
parent ae842cd001
commit bc6d25c0c4
4 changed files with 32 additions and 285 deletions

14
src/config/env.js Normal file
View File

@@ -0,0 +1,14 @@
/**
* @prettier
* @flow
*/
const path = require('path');
const APP_ROOT = path.resolve(__dirname, '../../');
module.exports = {
APP_ROOT,
SRC_ROOT: path.resolve(APP_ROOT, 'src/'),
DIST_PATH: path.resolve(APP_ROOT, 'static/'),
};