rsnext/examples/with-patternfly/next.config.js
Casper 51f392013d
fix(examples): future.webpack5 -> top level webpack5 (#26175)
## Documentation / Examples

- [x] Make sure the linting passes
2021-06-16 12:07:15 +00:00

8 lines
279 B
JavaScript

// PatternFly 4 uses global CSS imports in its distribution files. Therefore,
// we need to transpile the modules before we can use them.
const withTM = require('next-transpile-modules')([
'@patternfly/react-core',
'@patternfly/react-styles',
])
module.exports = withTM({})