Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

After updating from 0.2.1 to 0.2.3, build silently fails and doesnt get executed anymore #67

Open
janlent1 opened this issue Sep 12, 2022 · 0 comments

Comments

@janlent1
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant