silki
Version:
Cli tool for build react app, based on generator-react-multipage, create-react-app, roadhog. Support react multiple pages app develop.
30 lines (24 loc) • 619 B
JavaScript
;
/**
* Default dev server configuration.
*/
const webpack = require('webpack');
const WebpackBaseConfig = require('./Base');
class WebpackDevConfig extends WebpackBaseConfig {
constructor() {
super();
this.config = {
// Update your env-specific configuration here!
// To start, look at ./Dev.js or ./Dist.js for two example configurations
// targeted at production or development builds.
};
}
/**
* Get the environment name
* @return {String} The current environment
*/
get env() {
return '<%= envName %>';
}
}
module.exports = WebpackDevConfig;