R
R
retyui2016-11-30 14:25:40
Web development
retyui, 2016-11-30 14:25:40

Webpack stylus import sass?

How to make such imports work inside styl files
@import "sass-loader!_cutom-bootstrap.scss"
Error

Child extract-text-webpack-plugin:
        + 1 hidden modules

    ERROR in ./~/css-loader?sourceMap!./~/postcss-loader!./~/stylus-loader?paths[]=node_modules,paths[]=lib&include css&resolve url!./src/css/theme.styl
    Module build failed: Error: G:\web\xamp\htdocs\ps\themes\www\_dev\src\css\theme.styl:10:9
        6| @import "partials/_mixins.styl";
        7| // @import "partials/_fonts.styl"; //js load
        8| @import "partials/_commons.styl";
        9|
       10| @import "sass-loader!_cutom-bootstrap.scss"
    ---------------^
       11|

    failed to locate @import file sass-loader!_cutom-bootstrap.scss.styl

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question