generator-confit
Version:
Yeoman generator for creating the development process, tools and a sample project for current-generation web applications
25 lines (20 loc) • 592 B
JavaScript
;
// START_CONFIT_GENERATED_CONTENT
let configOptions = {
metaData: {
title: 'Confit Sample Project',
baseUrl: '/',
ENV: process.env.ENV = process.env.NODE_ENV = 'development',
jsSourceMap: 'cheap-module-source-map',
cssSourceMap: false,
},
loaderOptions: {
debug: true
}
};
// END_CONFIT_GENERATED_CONTENT
// START_CONFIT_GENERATED_CONTENT
let config = require('./webpack.config.js').mergeConfig(configOptions);
config.node.process = true; // Not sure why we do this for development?
// END_CONFIT_GENERATED_CONTENT
module.exports = config;