2017-07-03 22:28:56 -05:00
|
|
|
'use strict';
|
|
|
|
const path = require('path');
|
2017-04-11 23:59:58 -05:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
port: 3000,
|
2017-04-24 18:36:59 -05:00
|
|
|
title: 'MEW',
|
2017-07-03 22:28:56 -05:00
|
|
|
publicPath: process.env.BUILD_GH_PAGES ? '/react-semantic.ui-starter/' : '/',
|
2017-04-11 23:59:58 -05:00
|
|
|
srcPath: path.join(__dirname, './../common'),
|
|
|
|
// add these dependencies to a standalone vendor bundle
|
|
|
|
vendor: [
|
2017-07-03 22:28:56 -05:00
|
|
|
'react',
|
|
|
|
'react-dom',
|
|
|
|
'react-router',
|
|
|
|
'redux',
|
|
|
|
'react-router-redux',
|
|
|
|
'redux-thunk',
|
|
|
|
'whatwg-fetch'
|
2017-04-11 23:59:58 -05:00
|
|
|
],
|
|
|
|
// enable babelrc
|
|
|
|
babel: {
|
|
|
|
babelrc: true
|
|
|
|
},
|
|
|
|
cssModules: false
|
2017-07-03 22:28:56 -05:00
|
|
|
};
|