Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* PubNub chat iteration 1 * Added redux state wrapper * Fix for TypeError: hexoid is not a function * Fixed fetch history bug * Design overhaul of PubNub Chat * Pull request fix --------- Co-authored-by: Chase Adams <c@cadams.io>
- Loading branch information
1 parent
d8f417f
commit 0ab5fde
Showing
22 changed files
with
2,040 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
STUDIO_API_KEY="634b7695-b24d-4d8d-b890-b148d2897d9f" | ||
STUDIO_API_KEY= | ||
NEXT_PUBLIC_PUBLISH_KEY= | ||
NEXT_PUBLIC_SUBSCRIBE_KEY= | ||
NEXT_PUBLIC_SECRET_KEY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,20 @@ | ||
const { NormalModuleReplacementPlugin } = require("webpack"); | ||
|
||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
module.exports = { | ||
reactStrictMode: true, | ||
webpack: (config, { isServer }) => { | ||
if (!isServer) { | ||
config.resolve.fallback.fs = false; | ||
config.resolve.fallback.dns = false; | ||
config.resolve.fallback.net = false; | ||
} | ||
config.plugins.push( | ||
new NormalModuleReplacementPlugin( | ||
/^hexoid$/, | ||
require.resolve("hexoid/dist/index.js"), | ||
), | ||
); | ||
return config; | ||
}, | ||
}; | ||
|
||
module.exports = nextConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.