1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-05-08 17:28:46 +01:00
Files
frontend/script/fix-roboto.js
T
Paulus Schoutsen d9232df18b Add local roboto
2016-04-08 00:09:52 -07:00

10 lines
259 B
JavaScript
Executable File

var fs = require('fs');
var path = 'bower_components/paper-styles/typography.html';
var html = fs.readFileSync(path).toString();
var fixedHtml = html.replace('<link rel="import" href="../font-roboto/roboto.html">', '');
fs.writeFileSync(path, fixedHtml);