Skip to content

Commit

Permalink
Merge branch 'ssg-preview-mode' of github.com:Timer/next.js into ssg-…
Browse files Browse the repository at this point in the history
…preview-mode
  • Loading branch information
Timer committed Feb 11, 2020
2 parents 3ba7fb9 + 2dd57db commit da4450f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions examples/with-yarn-workspaces/packages/web-app/next.config.js
@@ -1,7 +1,5 @@
const withTM = require('next-transpile-modules')

// Tell webpack to compile the "bar" package
// Tell webpack to compile the "bar" package, necessary if you're using the export statement for example
// https://www.npmjs.com/package/next-transpile-modules
module.exports = withTM({
transpileModules: ['bar'],
})
const withTM = require('next-transpile-modules')(['bar'])

module.exports = withTM()
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"next": "latest",
"next-transpile-modules": "^2.0.0",
"next-transpile-modules": "^3.0.0",
"react": "^16.8.3",
"react-dom": "^16.8.3"
},
Expand Down

0 comments on commit da4450f

Please sign in to comment.