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
{{ message }}
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.
It seems that this code is not failsafe let loaderOptions = (typeof this.getOptions === 'function' ? this.getOptions() : require('loader-utils').getOptions(this)) || {};
That is the only code that really changed since 0.2.1
Before it was let loaderOptions = this.getOptions() || {};
So either revert back to that or make the code failesafer.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It seems that this code is not failsafe
let loaderOptions = (typeof this.getOptions === 'function' ? this.getOptions() : require('loader-utils').getOptions(this)) || {};
That is the only code that really changed since 0.2.1
Before it was
let loaderOptions = this.getOptions() || {};
So either revert back to that or make the code failesafer.
The text was updated successfully, but these errors were encountered: