Open
Description
Let's say we have initial webpack.config.js where options of vue-loader specified as:
{
test: /\.vue$/,
loader: "vue-loader",
options: {
preserveWhitespace: false,
loaders: {
scss: "vue-style-loader!css-loader!sass-loader", // <style lang="scss">
sass: "vue-style-loader!css-loader!sass-loader?indentedSyntax" // <style lang="sass">
}
}
}
and in VueApp/idontneedtypescript/App.vue styles specified without lang="scss":
<style scoped>
.custom-class {
background: red;
}
</style>
Then vue-loader does not include simple css styles in extracted css file in wwwroot/dist/css/main.css.