Skip to content

Commit

Permalink
Switch to ESM imports where possible (#1059)
Browse files Browse the repository at this point in the history
This improves the transition for Vite users.
  • Loading branch information
jessarcher authored May 30, 2022
1 parent 4d7f5ad commit df0bb27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stubs/inertia/resources/js/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require('./bootstrap');
import './bootstrap';

import { createApp, h } from 'vue';
import { createInertiaApp } from '@inertiajs/inertia-vue3';
Expand Down
2 changes: 1 addition & 1 deletion stubs/livewire/resources/js/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require('./bootstrap');
import './bootstrap';

import Alpine from 'alpinejs';

Expand Down

0 comments on commit df0bb27

Please sign in to comment.