Skip to content

Commit

Permalink
fixup! Feat: Example NextJS app with pages router #DS-1393
Browse files Browse the repository at this point in the history
  • Loading branch information
curdaj committed Aug 13, 2024
1 parent 664de69 commit c4077ad
Show file tree
Hide file tree
Showing 5 changed files with 5,859 additions and 3 deletions.
3 changes: 3 additions & 0 deletions examples/spirit-next-pages/.babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: ['next/babel'],
};
9 changes: 7 additions & 2 deletions examples/spirit-next-pages/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
import withTM from 'next-transpile-modules';

const nextConfig = withTM(['@lmc-eu/spirit-web-react'])({
reactStrictMode: true,
};
webpack: (config) => {
return config;
},
});

export default nextConfig;
Loading

0 comments on commit c4077ad

Please sign in to comment.