Skip to content

Commit 8c54e95

Browse files
committed
replace all cdn dependencies, move toggle back to header
1 parent e57fb5c commit 8c54e95

16 files changed

+700
-62
lines changed

gulp.d/tasks/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = (src, dest, preview) => () => {
4242
}),
4343
postcssUrl([
4444
{
45-
filter: (asset) => new RegExp('^[~][^/]*(?:font|typeface)[^/]*/.*/files/.+[.](?:ttf|woff2?)$').test(asset.url),
45+
filter: (asset) => new RegExp('.+[.](?:ttf|woff2?)$').test(asset.url),
4646
url: (asset) => {
4747
const relpath = asset.pathname.substr(1)
4848
const abspath = require.resolve(relpath)

0 commit comments

Comments
 (0)