Skip to content

Commit

Permalink
docs(babel-plugin-transform-vite-meta-glob): update docs to reflect t…
Browse files Browse the repository at this point in the history
…he correct format
  • Loading branch information
ArnaudWeyts committed Oct 10, 2024
1 parent 959bdf1 commit bf3b4de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/babel-plugin-transform-vite-meta-glob/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ const modules = {
}

// eager
import * as __glob__0_0 from './path/to/files/file1.js'
import * as __glob__0_1 from './path/to/files/file2.js'
import * as __glob__0_2 from './path/to/files/file3.js'
import __glob__0_0 from './path/to/files/file1.js'
import __glob__0_1 from './path/to/files/file2.js'
import __glob__0_2 from './path/to/files/file3.js'
const eagerModules = {
'./path/to/files/file1.js': __glob__0_1,
'./path/to/files/file2.js': __glob__0_2,
Expand Down

0 comments on commit bf3b4de

Please sign in to comment.