egoist / egoist/rollup-plugin-postcss
onExtract argument expect getExtracted call result but get getExtracted function
Open
- Dominant language
- JavaScript
- Stars
- 689
- Forks
- 210
- PR merge metrics
- No merged PRs in 30d
Description
index.d.ts
```typescript
type onExtract = (asset: Readonly<{
code: any;
map: any;
codeFileName: string;
mapFileName: string;
}>) => boolean;
```
index.js
```javascript
if (options.onExtract) {
const shouldExtract = yield options.onExtract(getExtracted);
if (shouldExtract === false) {
return;
}
}
``
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.