Nx monorepo implementation #923
Replies: 4 comments
-
did you have any success with this @JakubMatyka? |
Beta Was this translation helpful? Give feedback.
-
Hey @JakubMatyka @ciekawy, I am also looking for this have you had any success? |
Beta Was this translation helpful? Give feedback.
-
I guess I should spend some time to create a plasmo NX plugin if there isn't one. Should be straight forward (famous last words 😂) |
Beta Was this translation helpful? Give feedback.
-
I have integrated Plasmo with Nx. It's just a matter of having the appropriate I have the base This
{
"name": "extension",
"version": "0.0.1",
"private": true,
"type": "module",
"scripts": {
"build": "plasmo build",
},
"dependencies": {
"common": "workspace:*"
},
"nx": {
"sourceRoot": "extension/src",
"projectType": "library",
"targets": {
"build": {
"inputs": ["production", "^production"],
"outputs": ["{projectRoot}/build/output"],
"dependsOn": ["^build"]
},
"test": {
"inputs": ["default", "^production"],
"outputs": [],
"dependsOn": ["build"]
}
}
},
"manifest": {
"key": "<key>",
"host_permissions": [
"*://*/*"
],
"externally_connectable": {
"matches": ["*://*/*"]
},
"permissions": [
"nativeMessaging",
"activeTab",
"scripting"
]
}
} |
Beta Was this translation helpful? Give feedback.
-
I would like to try out Plasmo inside my monorepo built with Nx. It's not a straightforward process. Have anyone ever did that? Could you share how you did it?
Beta Was this translation helpful? Give feedback.
All reactions