Skip to content

Commit

Permalink
Upgrade to youversion-suggest v3
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb531 committed Aug 30, 2024
1 parent 18b597f commit d1821a7
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 134 deletions.
9 changes: 9 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ const nextConfig = withPWA({
});
}
return [{ source: '/:path*', headers }];
},
webpack: (config, { isServer, dev }) => {
// Required for youversion-suggest v3, which uses WASM under the hood for
// HTML-parsing
config.experiments = {
...config.experiments,
asyncWebAssembly: true
};
return config;
}
});

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
"deep-object-diff": "^1.1.9",
"goatcounter-js": "1.0.0",
"lodash-es": "^4.17.21",
"next": "^14.2.4",
"next": "^14.2.7",
"next-pwa": "^5.6.0",
"node-fetch": "^3.3.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"uuid": "^10.0.0",
"workbox-window": "^7.1.0",
"xml2js": "^0.6.2",
"youversion-suggest": "^2.2.0"
"youversion-suggest": "^3.0.0-beta.4"
},
"browserslist": {
"production": [
Expand Down
Loading

0 comments on commit d1821a7

Please sign in to comment.