Skip to content

Commit

Permalink
[charts] Replace ESM extensions by mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfauquette committed Aug 29, 2024
1 parent cf441ec commit ac395b1
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/x-charts-vendor/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const main = async () => {

// Create library indexes and copy licenses to `lib-vendor.
await Promise.all([
fs.writeFile(path.join(EsmBasePath, `${pkgName}.js`), getEsmIndex(pkg)),
fs.writeFile(path.join(EsmBasePath, `${pkgName}.mjs`), getEsmIndex(pkg)),
fs.writeFile(path.join(CjsBasePath, `${pkgName}.js`), getCjsIndex(pkg)),
fs
.copyFile(path.join(pkgBase, 'LICENSE'), path.join(libVendorPath, 'LICENSE'))
Expand Down

0 comments on commit ac395b1

Please sign in to comment.