created new build exporting recuer, srootsaga, galistener
This commit is contained in:
parent
747fd0afaf
commit
2ee33f979a
3 changed files with 3510 additions and 2886 deletions
6385
index.js
6385
index.js
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,8 @@
|
|||
import App from 'app';
|
||||
import Reducer from 'reducers';
|
||||
import rootSaga from 'sagas';
|
||||
import GAListener from 'components/GAListener';
|
||||
|
||||
const api = require('./server/routes/api/');
|
||||
const asset = require('./server/routes/asset/');
|
||||
const auth = require('./server/routes/auth/');
|
||||
|
@ -7,10 +12,12 @@ const site = require('./config/siteConfig');
|
|||
const slack = require('./config/slackConfig.js');
|
||||
const passport = require('./server/passport/');
|
||||
const models = require('./server/models/');
|
||||
const App = require('./client/app');
|
||||
|
||||
const exports = {
|
||||
App,
|
||||
Reducer,
|
||||
rootSaga,
|
||||
GAListener,
|
||||
logger,
|
||||
models,
|
||||
mysql,
|
||||
|
|
|
@ -2,7 +2,7 @@ const packageBaseConfig = require('./webpack.package.common.js');
|
|||
const merge = require('webpack-merge');
|
||||
|
||||
const devBuildConfig = {
|
||||
watch : true,
|
||||
// watch : true,
|
||||
devtool: 'inline-source-map',
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue