Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

style: Enable mini-css-extract-plugin's esModule mode #1514

Merged
merged 1 commit into from
Jan 28, 2020
Merged

style: Enable mini-css-extract-plugin's esModule mode #1514

merged 1 commit into from
Jan 28, 2020

Conversation

edmorley
Copy link
Member

This makes the loader part of mini-css-extract-plugin output JS using ES modules syntax instead of CJS, allowing webpack's module concatenation and tree shaking features to work more effectively:
https://github.com/webpack-contrib/mini-css-extract-plugin#esmodule

Fixes #1511.

This makes the loader part of `mini-css-extract-plugin` output JS using
ES modules syntax instead of CJS, allowing webpack's module concatenation
and tree shaking features to work more effectively:
https://github.com/webpack-contrib/mini-css-extract-plugin#esmodule

Fixes #1511.
@edmorley edmorley self-assigned this Dec 28, 2019
@edmorley edmorley requested a review from a team December 28, 2019 18:43
@edmorley edmorley merged commit 01f2727 into neutrinojs:master Jan 28, 2020
@edmorley edmorley deleted the css-extract-esModule-mode branch January 28, 2020 00:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

Enable mini-css-extract-plugin's esModule mode
1 participant