Skip to content

Commit

Permalink
Merge pull request #2068 from finos/workspace-build
Browse files Browse the repository at this point in the history
Fix CSS compilation to not inline http resources
  • Loading branch information
texodus authored Dec 29, 2022
2 parents bb5a1a6 + f28ca05 commit 440106c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/perspective-esbuild-plugin/ignore_fonts.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
exports.IgnoreFontsPlugin = function IgnoreFontsPlugin() {
function setup(build) {
build.onResolve({ filter: /\.ttf$/ }, async (args) => {
build.onResolve({ filter: /^https:\/\// }, async (args) => {
return { path: args.path, external: true, namespace: "skip-ttf" };
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function pointSeriesCanvas(
context.font = settings.textStyles.font;
const { type } = settings.mainValues.find((x) => x.name === label);
const value = toValue(type, d.row[label]);
let magnitude;
let magnitude = 0;
if (size) {
// A = pi * r^2
// r = sqrt(A / pi)
Expand Down

0 comments on commit 440106c

Please sign in to comment.