You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above was helpful in figuring out what was wrong, if you want to avoid branching and ejecting, the error could be a simple ESLint warning as well.
In my case, the error was ESLint being upset with me using self.postMessage() within the worker file.
ESLint would provide the following error Unexpected use of 'self'.eslint(no-restricted-globals) in VSCode. When the CRA bug above is fixed it will show up in the console and fail the build and you won't spend a bunch of time trying to figure out why the build silently failed.
My temporary fix was to add disable the ESLint rule for my workerfile as I wasn't sure how to do it correctly...
Building the app creates an empty folder while using workerize-loader
The text was updated successfully, but these errors were encountered: