Skip to content

Commit 1302084

Browse files
author
Quentin RAIMBAULT
committed
🔧 Auto load master.scss
1 parent 6926bef commit 1302084

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

webpack.config.js

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,21 @@ const config = {
6363
}
6464
}
6565
]
66-
}
66+
},
67+
{
68+
test: /\.scss$/,
69+
use: [
70+
"vue-style-loader",
71+
"css-loader",
72+
{
73+
loader: "sass-loader",
74+
options: {
75+
// you can also read from a file, e.g. `variables.scss`
76+
data: `@import "@/scss/master.scss";`
77+
}
78+
}
79+
]
80+
},
6781
]
6882
},
6983
plugins: [

0 commit comments

Comments
 (0)