Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade next-transpile-modules to latest everywhere #10607

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/with-patternfly/next.config.js
@@ -1,12 +1,12 @@
const path = require('path')
const withCSS = require('@zeit/next-css')
const withTM = require('next-transpile-modules')

const withTM = require('next-transpile-modules')(['@patternfly'])

const BG_IMAGES_DIRNAME = 'bgimages'

module.exports = withCSS(
withTM({
transpileModules: ['@patternfly'],
// Webpack config from https://github.com/patternfly/patternfly-react-seed/blob/master/webpack.common.js
webpack(config) {
config.module.rules.push({
Expand Down
2 changes: 1 addition & 1 deletion examples/with-patternfly/package.json
Expand Up @@ -10,7 +10,7 @@
"dependencies": {
"@patternfly/react-core": "^3.112.3",
"next": "latest",
"next-transpile-modules": "^2.3.1",
"next-transpile-modules": "^3.0.2",
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
Expand Down
3 changes: 1 addition & 2 deletions examples/with-reasonml-todo/next.config.js
@@ -1,6 +1,5 @@
const withTM = require('next-transpile-modules')
const withTM = require('next-transpile-modules')(['bs-platform'])

module.exports = withTM({
pageExtensions: ['jsx', 'js', 'bs.js'],
transpileModules: ['bs-platform'],
})
2 changes: 1 addition & 1 deletion examples/with-reasonml-todo/package.json
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"babel-plugin-bucklescript": "^0.5.3",
"next": "latest",
"next-transpile-modules": "2.3.1",
"next-transpile-modules": "^3.0.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"reason-react": "^0.7.0"
Expand Down
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"next": "latest",
"next-transpile-modules": "^3.0.0",
"next-transpile-modules": "^3.0.2",
"react": "^16.8.3",
"react-dom": "^16.8.3"
},
Expand Down