diff --git a/config/webpack/default.js b/config/webpack/default.js index 1e7d558..f5c1c15 100644 --- a/config/webpack/default.js +++ b/config/webpack/default.js @@ -60,9 +60,8 @@ const defaultWebpackConfig = { sassLoader: { includePaths: [path.resolve(__dirname, '../node_modules')] - } + }, - /* postcss (bundler) { return [ require('postcss-import')({ addDependencyTo: bundler }), @@ -70,7 +69,6 @@ const defaultWebpackConfig = { require('autoprefixer')({ browsers: AUTOPREFIXER_BROWSERS }) ] } - */ } export default defaultWebpackConfig diff --git a/config/webpack/server.js b/config/webpack/server.js index 8143d3e..7d0c15d 100644 --- a/config/webpack/server.js +++ b/config/webpack/server.js @@ -46,7 +46,6 @@ const serverConfig = { __dirname: false }, - plugins: [ ...defaultConfig.plugins, new webpack.DefinePlugin({ ...config, 'process.env.BROWSER': false }), diff --git a/src/client.js b/src/client.js index b1cf921..7adf2d9 100644 --- a/src/client.js +++ b/src/client.js @@ -20,7 +20,6 @@ import configureStore from './store' // Styles. require('./styles/index.scss') - // Configure store and browser-friendly history const store = configureStore(browserHistory, window.__INITIAL_STATE__) const history = syncHistoryWithStore(browserHistory, store) @@ -34,7 +33,7 @@ const render = () => { // Render the client side react component. ReactDOM.render( - + , document.getElementById('root') ) diff --git a/src/example/components/Layout.js b/src/example/components/Layout.js index 8d18f21..b4a4b4d 100644 --- a/src/example/components/Layout.js +++ b/src/example/components/Layout.js @@ -8,7 +8,7 @@ class Layout extends React.Component {