Skip to content

Commit

Permalink
fix: try to change from .js to mjs to fix an issue in remix
Browse files Browse the repository at this point in the history
  • Loading branch information
HamzaAmar committed Nov 23, 2024
1 parent aec412a commit bbbf957
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/pillar-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/esm/index.js"
"default": "./dist/esm/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/pillar-core/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const output = [
{
format: 'es',
exports: 'named',
entryFileNames: '[name].js',
entryFileNames: '[name].mjs',
dir: `${DIR}/esm`,
preserveModules: true,
sourcemap: true,
Expand Down

0 comments on commit bbbf957

Please sign in to comment.