-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(framework): Hardcode json-schema-faker
Json-schema-faker is causing big HMR and Webpack headaches when @novu/framework is used in Next.js. To address the issue, we decided to go old-school and hardcode the IIFE version of the source code in our package. The code was copied for https://unpkg.com/browse/json-schema-faker@0.5.6/dist/main.iife.js. PLEASE NOTE THE CODE WAS SLIGHTLY MODIFIED TO MAKE IT WORK IN @novu/framework. See the end of this file. See json-schema-faker/json-schema-faker#796 (comment).
- Loading branch information
1 parent
aba2de9
commit 990adf1
Showing
5 changed files
with
6,448 additions
and
247 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
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.