Is there a way to prevent adding ".css" to the end of the request URL?
I want to load Google font icons:
require('css!https://fonts.googleapis.com/icon?family=Material+Icons')
This is the result:
<link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons.css">
My current ugly workaround is that I add an ampersand (&) to the end, so the ".css" appears as a separate parameter:
require('css!https://fonts.googleapis.com/icon?family=Material+Icons&')
<link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons&.css">
Is there a way to prevent adding ".css" to the end of the request URL?
I want to load Google font icons:
require('css!https://fonts.googleapis.com/icon?family=Material+Icons')This is the result:
<link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons.css">My current ugly workaround is that I add an ampersand (&) to the end, so the ".css" appears as a separate parameter:
require('css!https://fonts.googleapis.com/icon?family=Material+Icons&')<link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons&.css">