Compatibility with old webpack?
Open
- Dominant language
- JavaScript
- Stars
- 31
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
This doesn't work for older versions of webpack. For compatibility, can you consider changing:
```
const isEntryChunk = (chunk: Object) => {
return chunk.hasRuntime() && chunk.isInitial();
};
```
to:
```
const isEntryChunk = (chunk: Object) => {
return ((chunk.hasRuntime && chunk.hasRuntime()) || chunk.entry) && ((chunk.isInitial && chunk.isInitial()) || chunk.initial);
};
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.