Update regex

This commit is contained in:
Oliver Davies 2020-03-09 20:38:30 +00:00 committed by GitHub
parent 0ed1b4de17
commit 8cd605bf89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ Encore
.addEntry('app', './assets/js/app.js')
.enablePostCssLoader()
.configureLoaderRule('css', loaderRule => {
loaderRule.test = /\.(css|postcss|pcss)$/
loaderRule.test = /\.(css|p(ost)?css)$/
})
.enableSourceMaps(!Encore.isProduction())