Build a connector
As you develop your extension, you may need to build your connector.
Typically, you only need to run the build command for your connector when you want to test. Netlify will build your connector for you as part of the publishing process, and the command to run your connector locally already includes a build step.
To bundle and build your connector run:
When the build is complete, the SDK outputs the build to a .ntli
folder in the current working directory of your terminal.
We recommend that you add the .ntli
directory to your .gitignore
file, along with .cache
, dev-model.gql
, and node_modules
.
Assets
To include static file assets in your bundled connector, add them to a src/assets
directory. All assets in this directory are automatically copied into the .ntli
directory during the build.