Skip to content

Commit

Permalink
fix: fixed package.json exports
Browse files Browse the repository at this point in the history
  • Loading branch information
g-cheishvili committed Feb 22, 2023
1 parent a4bdc16 commit 8377ea0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/workspace-plugins/src/executors/build/executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ export default async function runExecutor(options: BuildExecutorSchema, context:
projectPackageJson['exports'] = {
...projectPackageJson['exports'],
"./dist/js/*": {
"default": "./dist/js/*.mjs",
"types": "./dist/js/*.d.ts"
},
"./dist/*": {
"default": "./dist/*"
"types": "./dist/js/*.d.ts",
"default": "./dist/js/*.mjs"
},
"./dist/*.css": {
"default": "./dist/*.css"
},
"./dist/*": {
"default": "./dist/*"
}
}
projectPackageJsonContent = JSON.stringify(projectPackageJson, null, 4);
Expand Down

0 comments on commit 8377ea0

Please sign in to comment.