rsnext/packages/next/build/webpack/plugins/mini-css-extract-plugin.ts
Tobias Koppers 5f3351dbb8
use official mini-css-extract-plugin and experimentalUseImportModule (#24573)
## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [ ] Make sure the linting passes
2021-05-12 16:04:01 +00:00

6 lines
238 B
TypeScript

// @ts-ignore: TODO: remove when webpack 5 is stable
import MiniCssExtractPlugin from 'next/dist/compiled/mini-css-extract-plugin'
export default class NextMiniCssExtractPlugin extends MiniCssExtractPlugin {
__next_css_remove = true
}