diff --git a/packages/pharos/scripts/build-react.js b/packages/pharos/scripts/build-react.js index 554fefafc..efa7bfc55 100644 --- a/packages/pharos/scripts/build-react.js +++ b/packages/pharos/scripts/build-react.js @@ -1,7 +1,7 @@ import * as fs from 'fs/promises'; import path from 'path'; import { globbyStream } from 'globby'; -import customElementsManifest from '../custom-elements.json' assert { type: 'json' }; +import customElementsManifest from '../custom-elements.json' with { type: 'json' }; import prettier from 'prettier'; const REACT_PROP_TYPE = 'DetailedHTMLProps, HTMLElement>'; diff --git a/packages/pharos/style-dictionary.config.js b/packages/pharos/style-dictionary.config.js index 36b6064d4..27d1001dd 100644 --- a/packages/pharos/style-dictionary.config.js +++ b/packages/pharos/style-dictionary.config.js @@ -1,4 +1,4 @@ -import icons from './tokens/assets/icons.json' assert { type: 'json' }; +import icons from './tokens/assets/icons.json' with { type: 'json' }; export default { source: ['tokens/**/*.json'],