Speech as a package #416

Merged
bones7242 merged 89 commits from speech-as-a-package into master 2018-04-18 21:47:34 +02:00
7 changed files with 51570 additions and 3580 deletions
Showing only changes of commit 92560e216a - Show all commits

47990
exports/clientBundle.js Normal file

File diff suppressed because one or more lines are too long

7144
index.js

File diff suppressed because one or more lines are too long

View file

@ -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,

View file

@ -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/',

View file

@ -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,
]; ];

View file

@ -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),
]; ];