ha-frontend-cdce8p/script/fix-roboto.js
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);