MyCrypto/webpack_config/config.js

19 lines
475 B
JavaScript

'use strict'
const path = require('path')
module.exports = {
port: 3000,
title: 'MEW',
publicPath: process.env.BUILD_GH_PAGES ? '/react-semantic.ui-starter/' : '/',
srcPath: path.join(__dirname, './../common'),
// add these dependencies to a standalone vendor bundle
vendor: [
'react', 'react-dom', 'react-router', 'redux', 'react-router-redux', 'redux-thunk', 'whatwg-fetch'
],
// enable babelrc
babel: {
babelrc: true
},
cssModules: false
}