scrabble-solver
Version:
Scrabble Solver 2 - Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter League, Crossplay, Literaki, and Kelimelik. Quickly find the top-scoring words using the given board and tiles.
22 lines (20 loc) • 492 B
text/typescript
import { plugin } from 'bun';
plugin({
name: 'scss-mock',
setup(build) {
build.onLoad({ filter: /\.scss$/ }, () => ({
contents: `
const proxy = new Proxy({}, {
get(_, key) {
if (typeof key === 'symbol') return undefined;
if (key === 'default') return proxy;
if (key === '__esModule') return true;
return key;
},
});
export default proxy;
`,
loader: 'js',
}));
},
});