mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
feat: replace local @import in scss with global webpack config
This commit is contained in:
parent
95ed9ab221
commit
6c24b529cc
2 changed files with 15 additions and 1 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 61e66207a0b9c791d943f6d5d850eba27d4c2309
|
||||
Subproject commit e52e53aee5a2bc352cbbb51effb7137f5e1c7d97
|
|
@ -15,6 +15,20 @@ mix.webpackConfig({
|
|||
proxy: {
|
||||
'/': 'http://127.0.0.1:8000/'
|
||||
}
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.scss$/,
|
||||
loader: "sass-loader",
|
||||
options: {
|
||||
prependData: `
|
||||
@import "resources/assets/sass/partials/_vars.scss";
|
||||
@import "resources/assets/sass/partials/_mixins.scss";
|
||||
`
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue