Настройки webpack

This commit is contained in:
Book Pauk
2018-12-28 19:05:08 +07:00
parent b4fa83f49f
commit 53a7de2883
5 changed files with 59 additions and 12 deletions

View File

@@ -15,7 +15,16 @@ module.exports = merge(baseWpConfig, {
{
test: /\.vue$/,
loader: "vue-loader"
}
},
// это будет применяться к файлам `.css`
// А ТАКЖЕ к секциям `<style>` внутри файлов `.vue`
{
test: /\.css$/,
use: [
'vue-style-loader',
'css-loader'
]
},
]
},