Refactor and regroup urlHelpers utils (#6462)
* fix: refactor urlHelpers * fix: move to /plugins/slack/shared * fix: remove .babelrc * fix: remove Outline class * fix: Slack -> SlackUtils * fix: UrlHelper class
This commit is contained in:
8
build.js
8
build.js
@@ -53,6 +53,14 @@ async function build() {
|
||||
`yarn babel --extensions .ts,.tsx --quiet -d "./build/plugins/${plugin}/server" "./plugins/${plugin}/server"`
|
||||
);
|
||||
}
|
||||
|
||||
const hasShared = existsSync(`./plugins/${plugin}/shared`);
|
||||
|
||||
if (hasShared) {
|
||||
await execAsync(
|
||||
`yarn babel --extensions .ts,.tsx --quiet -d "./build/plugins/${plugin}/shared" "./plugins/${plugin}/shared"`
|
||||
);
|
||||
}
|
||||
}),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user