Skip to content

Commit

Permalink
fix(snack-sdk): resolve example 404 page not found (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kudo authored Sep 19, 2023
1 parent 64b63c8 commit ee5bbc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/snack-sdk/example/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module.exports = {
reactStrictMode: true,
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
config.resolve.alias['snack-sdk'] = path.resolve(__dirname, '../../../packages/snack-sdk');
config.resolve.alias['vm2'] = false;
return config;
},
};

0 comments on commit ee5bbc5

Please sign in to comment.