easyify
Version:
A compilation tools & workflow for FE, built with webpack4.x, compile faster and smart, make work easier.
23 lines (22 loc) • 488 B
JavaScript
const path = require('path');
const {
project
} = require('../lib/project');
const projectDir = path.resolve(__dirname, '../../src/' + project);
const userConf = require(projectDir + '/config.js');
const config = {
env: {
prod: {
NODE_ENV: '"production"'
},
dev: {
NODE_ENV: '"development"'
},
alpha: {
NODE_ENV: '"production"'
}
},
vendor:[],
...userConf
};
module.exports = config;