31 lines
717 B
JavaScript
31 lines
717 B
JavaScript
// webpack.config.js
|
|
|
|
module.exports = {
|
|
rules: [
|
|
{
|
|
test: /\.s(c|a)ss$/,
|
|
use: [
|
|
"vue-style-loader",
|
|
"css-loader",
|
|
{
|
|
loader: "sass-loader",
|
|
// Requires sass-loader@^7.0.0
|
|
// options: {
|
|
// implementation: require('sass'),
|
|
// fiber: require('fibers'),
|
|
// indentedSyntax: true // optional
|
|
// },
|
|
// Requires sass-loader@^8.0.0
|
|
options: {
|
|
implementation: require("sass"),
|
|
sassOptions: {
|
|
fiber: require("fibers"),
|
|
indentedSyntax: true // optional
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
};
|