Skip to content

Commit d36af4d

Browse files
committed
fix ESM moving leftovers
1 parent ec274df commit d36af4d

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

examples/highlight.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
'use strict';
2-
const React = require('react');
3-
const {render} = require('ink');
4-
const SyntaxHighlight = require('../build').default;
1+
import React from 'react';
2+
import {render} from 'ink';
3+
import SyntaxHighlight from '../build';
54

65
const Syntax = () => {
76
return (

examples/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
'use strict';
21
require('import-jsx')('./highlight');

0 commit comments

Comments
 (0)