Skip to content

Commit

Permalink
fix(modal): fix node 22 import assertion syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-iden committed Oct 28, 2024
1 parent bdf77ee commit fd8d91e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/pharos/scripts/build-react.js
Original file line number Diff line number Diff line change
@@ -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<HTMLAttributes<HTMLElement>, HTMLElement>';
Expand Down
2 changes: 1 addition & 1 deletion packages/pharos/style-dictionary.config.js
Original file line number Diff line number Diff line change
@@ -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'],
Expand Down

0 comments on commit fd8d91e

Please sign in to comment.