Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media Query Webpack plugin [help] #1185

Open
marcof-git opened this issue Mar 16, 2021 · 0 comments
Open

Media Query Webpack plugin [help] #1185

marcof-git opened this issue Mar 16, 2021 · 0 comments

Comments

@marcof-git
Copy link

Hi,
i would like to include this plugin https://github.com/SassNinja/media-query-plugin in the workflow, but i don't understand how. Is any way to extend the webpack configuration like the example in the media-query-plugin repo:

rules: [
            {
                test: /\.scss$/,
                use: [
                    MiniCssExtractPlugin.loader,
                    'css-loader',
                    MediaQueryPlugin.loader,->>>
                    'postcss-loader',
                    'sass-loader'
                ]
            }
        ]
plugins: [
        new MediaQueryPlugin({
            include: [
                'example'
            ],
            queries: {
                'print, screen and (min-width: 75em)': 'desktop'
            }
        })
    ]
@marcof-git marcof-git changed the title Media Query Webpack plugin Media Query Webpack plugin [help] Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant