You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BLT supports managing NPM dev dependencies via a theme's package.json file. You can easily define frontend hooks in project.yml that will install these dependencies during the build process. The libraries themselves (in node_modules) then get stripped before deployment (they are specifically excluded by BLT and also in the .gitignore in the deploy artifact.)
This is problematic for third-party frontend libraries that should be deployed, such as select2. Right now you can still add these as non-dev dependencies to your project.yml and run npm install --no-dev as a post-deploy hook, but the gitignore will still exclude them.
The text was updated successfully, but these errors were encountered:
BLT supports managing NPM dev dependencies via a theme's package.json file. You can easily define frontend hooks in project.yml that will install these dependencies during the build process. The libraries themselves (in node_modules) then get stripped before deployment (they are specifically excluded by BLT and also in the .gitignore in the deploy artifact.)
This is problematic for third-party frontend libraries that should be deployed, such as select2. Right now you can still add these as non-dev dependencies to your project.yml and run npm install --no-dev as a post-deploy hook, but the gitignore will still exclude them.
The text was updated successfully, but these errors were encountered: