Skip to content

Question: How would I use in dev mode? #5

Open
@burtyish

Description

@burtyish

Hi,
The plugin works nicely with mini-css-extract-plugin, which is intended for production only:

This plugin should be used only on production builds without style-loader in the loaders chain, especially if you want to have HMR in development.

So my question is how would you work in dev mode, together with style-loader? I'm looking for a work flow that would not break HMR.
In the past I've used
https://github.com/romainberger/webpack-rtl-plugin (for production) and
https://github.com/romainberger/rtl-css-loader (for development)
which worked great, but it looks like those projects haven't kept up with more recent webpack and rtlcss versions.

P.S.
Thank you for putting your work out here for the OSS community. Much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions