enb / enb-stylus

Stylus related techs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use doesn't work

adinvadim opened this issue · comments

Example from project-stub. Plugin for stylus doesn't work with enb-stylus

            [techs.stylus, {
                target: '?.css',
                sourcemap: false,
                use: [require('rupture')()],
                autoprefixer: {
                    browsers: ['ie >= 10', 'last 2 versions', 'opera 12.1', '> 2%']
                }
            }],
.block2

    +below(900px)
        width: 300px

15:56:16.450 - [failed] [desktop.bundles/index/index.css] stylus

That's because latest released version still doesn't have this feature. See commits: https://github.com/enb-make/enb-stylus/commits/master (support was introduced after current 2.2.0 release).

So you may install module from github until release: npm i enb-make/enb-stylus#master --save-dev

I released v2.3.0.

@adinvadim, сould you try new version?