added client bundle build back to package for testing sake
This commit is contained in:
parent
1937945dac
commit
92560e216a
7 changed files with 51570 additions and 3580 deletions
47990
exports/clientBundle.js
Normal file
47990
exports/clientBundle.js
Normal file
File diff suppressed because one or more lines are too long
7144
index.js
7144
index.js
File diff suppressed because one or more lines are too long
|
@ -1,18 +1,18 @@
|
|||
import Reducer from './client/reducers';
|
||||
import rootSaga from './client/sagas';
|
||||
import GAListener from './client/components/GAListener';
|
||||
const Pages = require('./client/pages');
|
||||
const Server = require('./server');
|
||||
const App = require('./client/app.js');
|
||||
const Server = require('./server');
|
||||
const Pages = require('./client/pages');
|
||||
const Components = require('./client/components');
|
||||
const Containers = require('./client/containers');
|
||||
|
||||
const exports = {
|
||||
Server,
|
||||
App,
|
||||
Reducer,
|
||||
rootSaga,
|
||||
GAListener,
|
||||
Server,
|
||||
Pages,
|
||||
Components,
|
||||
Containers,
|
||||
|
|
|
@ -4,7 +4,7 @@ const CONFIG_ROOT = Path.resolve(__dirname, 'config/');
|
|||
|
||||
module.exports = {
|
||||
target: 'web',
|
||||
entry : ['babel-polyfill', 'whatwg-fetch', './client/index.js'],
|
||||
entry : ['babel-polyfill', 'whatwg-fetch', './client/client.js'],
|
||||
output: {
|
||||
path : Path.join(__dirname, 'exports/'),
|
||||
publicPath: 'exports/',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
const packageBaseConfig = require('./webpack.speech.common.js');
|
||||
// const clientBaseConfig = require('./webpack.client.common.js');
|
||||
const clientBaseConfig = require('./webpack.client.common.js');
|
||||
|
||||
module.exports = [
|
||||
// clientBaseConfig,
|
||||
clientBaseConfig,
|
||||
packageBaseConfig,
|
||||
];
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const packageBaseConfig = require('./webpack.speech.common.js');
|
||||
// const clientBaseConfig = require('./webpack.client.common.js');
|
||||
const clientBaseConfig = require('./webpack.client.common.js');
|
||||
const merge = require('webpack-merge');
|
||||
|
||||
const devBuildConfig = {
|
||||
|
@ -9,5 +9,5 @@ const devBuildConfig = {
|
|||
|
||||
module.exports = [
|
||||
merge(packageBaseConfig, devBuildConfig),
|
||||
// merge(clientBaseConfig, devBuildConfig),
|
||||
merge(clientBaseConfig, devBuildConfig),
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue