vuejs / vue-loader

📦 Webpack loader for Vue.js components
MIT License
4.99k stars 915 forks source link

Update documentation for sass indented syntax #2086

Open lorefnon opened 1 month ago

lorefnon commented 1 month ago

Current docs recommend use of following config to enable sass indented syntax:

                    {
                        loader: "sass-loader",
                        options: {
                            sassOptions: {
                                indentedSyntax: true
                            }
                        }
                    },

It looks like after a breaking change in sass-loader, we must use this option now:

                    {
                        loader: "sass-loader",
                        options: {
                            sassOptions: {
                                syntax: "indented"
                            }
                        }
                    },

Once we have a confirmation from sass-loader devs (https://github.com/webpack-contrib/sass-loader/issues/1240) that this undocumented change was intentional, we can update the docs.