Skip to content

Commit

Permalink
Update PatternFly example to v4 (#17241)
Browse files Browse the repository at this point in the history
`esModule: false` required for fonts to load.
  • Loading branch information
mohd-akram authored Sep 20, 2020
1 parent 571f8be commit eaea7a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions examples/with-patternfly/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ module.exports = withCSS(
publicPath: '/_next/static/fonts/',
outputPath: 'static/fonts/',
name: '[name].[ext]',
esModule: false,
},
},
})
Expand Down
14 changes: 7 additions & 7 deletions examples/with-patternfly/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
"start": "next start"
},
"dependencies": {
"@patternfly/react-core": "^3.112.3",
"@patternfly/react-core": "^4.50.2",
"next": "latest",
"next-transpile-modules": "^4.0.2",
"react": "^16.7.0",
"react-dom": "^16.7.0"
"next-transpile-modules": "^4.1.0",
"react": "^16.13.1",
"react-dom": "^16.13.1"
},
"devDependencies": {
"@zeit/next-css": "^1.0.1",
"file-loader": "^3.0.1",
"svg-url-loader": "^3.0.2",
"url-loader": "^1.1.2"
"file-loader": "^6.1.0",
"svg-url-loader": "^6.0.0",
"url-loader": "^4.1.0"
},
"license": "MIT"
}

0 comments on commit eaea7a8

Please sign in to comment.