diff --git a/packages/lexical-playground/viteCopyEsm.ts b/packages/lexical-playground/viteCopyEsm.ts index e7ce8764ffa..f9b01677e43 100644 --- a/packages/lexical-playground/viteCopyEsm.ts +++ b/packages/lexical-playground/viteCopyEsm.ts @@ -5,8 +5,8 @@ * LICENSE file in the root directory of this source tree. * */ -import fs from 'fs'; -import path from 'path'; +import * as fs from 'node:fs'; +import * as path from 'node:path'; import copy from 'rollup-plugin-copy'; function parseImportMapImportEntries() {