I use BundlerMinifier.Core on Asp.net Core on Linux(debian).
bundleconfig.json
{"outputFileName": "wwwroot/fonts/alegreya/alegreya.min.css","inputFiles": ["wwwroot/fonts/alegreya/alegreya.css" ] }
alegreya.css
@font-face { font-family: 'Alegreya'; src: local('Alegreya'), local('Alegreya-Regular'), url('alegreya.woff2') format('woff2'), url('alegreya.woff') format('woff'), url('alegreya.ttf') format('truetype'); font-weight: 400; font-style: normal; }
After "dotnet bundle"
all url
url('/home/user/mysite/wwwroot/fonts/alegreya.min.css')
How to correct it?
Thanks you for help!