manuelbieh / react-ssr-setup

React Starter Project with Webpack 4, Babel 7, TypeScript, CSS Modules, Server Side Rendering, i18n and some more niceties

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can you help with injecting to your webpack build system SASS support?

AndriiUhryn opened this issue · comments

That would be great to add an ability compile scss files as well.

Didn't try because I'm not using sass anymore but should be possible to add it by doing:

{
    test: /\.scss$/,
    use: [
        "style-loader",
        "css-loader",
        "sass-loader",
    ]
}

That's should do it.

Thanks a lot

Should this be added to the server config or the client config - or both?