aboutsummaryrefslogtreecommitdiff
path: root/vnext/server/middleware/renderer.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-11-08 17:34:42 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:58 +0300
commitc7a9dd1ec4d436c3893e2544d9b13bf46cfab2c8 (patch)
treedfd86598bf03b445ef71a3ed8f8eec72455725c3 /vnext/server/middleware/renderer.js
parent968fcc490d273799a7dfcafcfbe3af537cf10180 (diff)
Cleanup ESLint warnings
Diffstat (limited to 'vnext/server/middleware/renderer.js')
-rw-r--r--vnext/server/middleware/renderer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/server/middleware/renderer.js b/vnext/server/middleware/renderer.js
index 339c0449..debba758 100644
--- a/vnext/server/middleware/renderer.js
+++ b/vnext/server/middleware/renderer.js
@@ -9,8 +9,8 @@ import { getLinks } from '../sape';
import { StaticRouter } from 'react-router-dom/server';
import { VisitorProvider } from '../../src/ui/VisitorContext';
-const path = require('path');
-const fs = require('fs');
+import path from 'path';
+import fs from 'fs';
// convert a Unicode string to a string in which
// each 16-bit unit occupies only one byte