Skip to content

Commit

Permalink
also use explicit extensions in jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBarre committed Mar 31, 2023
1 parent ce9347b commit d2e3856
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/create-vite/template-preact/src/main.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { render } from 'preact'
import { App } from './app'
import { App } from './app.jsx'
import './index.css'

render(<App />, document.getElementById('app'))
2 changes: 1 addition & 1 deletion packages/create-vite/template-react/src/main.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
import App from './App.jsx'
import './index.css'

ReactDOM.createRoot(document.getElementById('root')).render(
Expand Down

0 comments on commit d2e3856

Please sign in to comment.