Speech as a package #416
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 Reducer from './client/reducers';
|
||||||
import rootSaga from './client/sagas';
|
import rootSaga from './client/sagas';
|
||||||
import GAListener from './client/components/GAListener';
|
import GAListener from './client/components/GAListener';
|
||||||
const Pages = require('./client/pages');
|
|
||||||
const Server = require('./server');
|
|
||||||
const App = require('./client/app.js');
|
const App = require('./client/app.js');
|
||||||
|
const Server = require('./server');
|
||||||
|
const Pages = require('./client/pages');
|
||||||
const Components = require('./client/components');
|
const Components = require('./client/components');
|
||||||
const Containers = require('./client/containers');
|
const Containers = require('./client/containers');
|
||||||
|
|
||||||
const exports = {
|
const exports = {
|
||||||
Server,
|
|
||||||
App,
|
App,
|
||||||
Reducer,
|
Reducer,
|
||||||
rootSaga,
|
rootSaga,
|
||||||
GAListener,
|
GAListener,
|
||||||
|
Server,
|
||||||
Pages,
|
Pages,
|
||||||
Components,
|
Components,
|
||||||
Containers,
|
Containers,
|
||||||
|
|
|
@ -4,7 +4,7 @@ const CONFIG_ROOT = Path.resolve(__dirname, 'config/');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
target: 'web',
|
target: 'web',
|
||||||
entry : ['babel-polyfill', 'whatwg-fetch', './client/index.js'],
|
entry : ['babel-polyfill', 'whatwg-fetch', './client/client.js'],
|
||||||
output: {
|
output: {
|
||||||
path : Path.join(__dirname, 'exports/'),
|
path : Path.join(__dirname, 'exports/'),
|
||||||
publicPath: 'exports/',
|
publicPath: 'exports/',
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
const packageBaseConfig = require('./webpack.speech.common.js');
|
const packageBaseConfig = require('./webpack.speech.common.js');
|
||||||
// const clientBaseConfig = require('./webpack.client.common.js');
|
const clientBaseConfig = require('./webpack.client.common.js');
|
||||||
|
|
||||||
module.exports = [
|
module.exports = [
|
||||||
// clientBaseConfig,
|
clientBaseConfig,
|
||||||
packageBaseConfig,
|
packageBaseConfig,
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const packageBaseConfig = require('./webpack.speech.common.js');
|
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 merge = require('webpack-merge');
|
||||||
|
|
||||||
const devBuildConfig = {
|
const devBuildConfig = {
|
||||||
|
@ -9,5 +9,5 @@ const devBuildConfig = {
|
||||||
|
|
||||||
module.exports = [
|
module.exports = [
|
||||||
merge(packageBaseConfig, devBuildConfig),
|
merge(packageBaseConfig, devBuildConfig),
|
||||||
// merge(clientBaseConfig, devBuildConfig),
|
merge(clientBaseConfig, devBuildConfig),
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Reference in a new issue