forked from sombochea/verdaccio-ui
chore: fix webpack build
This commit is contained in:
14
src/config/env.js
Normal file
14
src/config/env.js
Normal 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/'),
|
||||
};
|
||||
Reference in New Issue
Block a user