Skip to content

Commit

Permalink
[docs] Fix the docs in dev mode for IE 11 (#15230)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Apr 6, 2019
1 parent bd7f1e7 commit 9c12eeb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ module.exports = {
],
},
'docs-development': {
presets: ['@zeit/next-typescript/babel'],
presets: ['next/babel', '@zeit/next-typescript/babel'],
plugins: [
'babel-plugin-preval',
[
Expand Down
3 changes: 2 additions & 1 deletion docs/src/modules/redux/initRedux.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ function create(initialState) {
process.env.NODE_ENV !== 'production' &&
process.browser &&
!window.__REDUX_DEVTOOLS_EXTENSION__ &&
Object.assign // redux-logger needs this feature
// redux-logger needs this feature
Object['assign'] // eslint-disable-line dot-notation
) {
// eslint-disable-next-line global-require
const createLogger = require('redux-logger').createLogger;
Expand Down

0 comments on commit 9c12eeb

Please sign in to comment.