ToolJet/plugins/clean-packages.js
Midhun G S c7d164c1c8
Added configuration to select plugins (#3024)
* Added configs to select plugins

* moving the configs to

* removing private from common

* fix

* removed if-env

* Fix

* docker compose changes

* review comments

* remove plugin build file

* revert docker file changes

* netlify changes

* netlify configs

* build script changes

* build script changes

* dockerfile changes

* add prebuild script
2022-05-20 19:32:46 +05:30

7 lines
209 B
JavaScript

const { execSync } = require('child_process');
if (process.env.NODE_ENV === 'production') {
execSync('npx lerna run clean --parallel');
} else {
execSync('npx lerna run clean --parallel --no-private');
}