Skip to content

is there a way to output non-minified-version when in production #289

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

Closed
e-cloud opened this issue Jun 15, 2016 · 3 comments
Closed

is there a way to output non-minified-version when in production #289

e-cloud opened this issue Jun 15, 2016 · 3 comments

Comments

@e-cloud
Copy link

e-cloud commented Jun 15, 2016

It's normal for a library with css to output a ***.css and a ***.min.css.
But now there is no way just using webpack and css-loader

@termosa
Copy link

termosa commented Aug 23, 2016

@e-cloud can it help you?

{ test: /\.css$/, loader: 'css?-minimize' }

-minimize will disable minification.

@damianobarbati
Copy link

damianobarbati commented Jun 6, 2017

Not working: any idea?

const extractCssLoaders = [{
    loader: 'css-loader',
    options: {
        modules: true,
        camelCase: true,
        localIdentName: cssScopedName,
        importLoaders: 1,
        minimize: false,
    },
},{
    loader: 'resolve-url-loader',
},{
    loader: 'postcss-loader',
    options: {
        plugins: [
            autoprefixer({ browsers: config.browserlist }),
        ],
    },
},{
    loader: 'sass-loader',
}];

@alexander-akait
Copy link
Member

alexander-akait commented Jan 12, 2018

Close in favor #650

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

4 participants