This commit is contained in:
28
client/webpack.config.js
Normal file
28
client/webpack.config.js
Normal file
@@ -0,0 +1,28 @@
|
||||
// webpack.config.js
|
||||
|
||||
module.exports = {
|
||||
// optimization: {
|
||||
// splitChunks: {
|
||||
// chunks: "all"
|
||||
// }
|
||||
// },
|
||||
rules: [
|
||||
{
|
||||
test: /\.s(c|a)ss$/,
|
||||
use: [
|
||||
"vue-style-loader",
|
||||
"css-loader",
|
||||
{
|
||||
loader: "sass-loader",
|
||||
options: {
|
||||
implementation: require("sass"),
|
||||
sassOptions: {
|
||||
fiber: require("fibers"),
|
||||
indentedSyntax: true // optional
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user