Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use cjs form for webpack4 because it does not support
import.meta
. …
…Instead of feature testing with `this.environment` which was added to webpack 5 relatively recently use `typeof this.addMissingDepdencey === 'function'` which is in most (or all) webpack 5 releases but not included in webpack 4.
- Loading branch information