Skip to content

Commit cf20f0a

Browse files
committed
Configure font loaders for Workflow test harness
After the Monaco refactor, the dev server needs to know what to do with these files.
1 parent c3f56d1 commit cf20f0a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

assets/dev-server.js

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ const ctx = await esbuild.context({
1414
target: ['es2020'],
1515
tsconfig: 'tsconfig.browser.json',
1616
jsx: 'automatic',
17+
loader: {
18+
'.woff2': 'file',
19+
'.ttf': 'copy',
20+
},
1721
plugins: [
1822
postcss(),
1923
copy({

0 commit comments

Comments
 (0)