Install a local extension
Follow these steps in order to install an extension from a local source
.
├── 📁 packages/
│ ├── 📁 @somebody/ # All extensions of this scope will be in this dir
│ │ └── 📁 extension1/ # This extension is a scoped package
│ │ ├── ...
│ │ └── package.json
│ └── 📁 extension2/ # This extension is not a scoped package
│ ├── ...
│ └── package.json
├── 📁 src
└── package.json{
"scripts": {
"postinstall": "nextjs-scripts link",
"postupdate": "nextjs-scripts link"
}
}{
"scripts": {
"postinstall": "cra-scripts link",
"postupdate": "cra-scripts link"
}
}{
"scripts": {
"postinstall": "node-scripts link",
"postupdate": "node-scripts link"
}
}Last updated