Curran Kelleher
Curran Kelleher
Looks like this issue should be closed?
FWIW, The mutation on use with ordinal scales really confused me the first time I came across it.
I'm looking to use this plugin in a browser context. As of v3.1.2, this error is still being thrown. It would be amazing to solve for the browser use case....
I was able to get past the Buffer error with this Nasty Hack: ```js import * as prettierPluginSvelte from 'prettier-plugin-svelte'; import { Buffer } from 'buffer'; globalThis.Buffer = Buffer; ```...
Here's where the built-in Prettier plugins get built: https://github.com/prettier/prettier/blob/main/scripts/build/build-javascript-module.js It's a real can of worms, lots of custom stuff with ESBuild.
See also https://github.com/sveltejs/prettier-plugin-svelte/pull/417
See also https://github.com/sveltejs/prettier-plugin-svelte/pull/417
An idea from https://observablehq.com/@mbostock/inequality-in-american-cities : ``` function padLog(x, k) { return padLinear(x.map(Math.log), k).map(Math.exp); } ```
Suggest to close as out of scope.
Thanks @micahstubbs for making this an issue!