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 19, 2024
1 parent a1d440d commit 2a90129
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/next-with-pages-router/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ const nextConfig = {
path.join(pathDir, 'src/styles'),
],
},
webpack: (config) => {
config.resolve.alias = {
...config.resolve.alias,
'@lmc-eu/spirit-web-react': path.join(pathDir, '../../node_modules/@lmc-eu/spirit-web-react/src'),
};

return config;
},
};

export default nextConfig;

0 comments on commit 2a90129

Please sign in to comment.