Skip to content

Commit

Permalink
implement the smartflow ping for the UniversalModern and UniversalCla…
Browse files Browse the repository at this point in the history
…ssicModern templates
  • Loading branch information
shreyascelestial committed Jan 2, 2024
1 parent 93b9c93 commit efa8b8e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/ext-webpack-plugin/dist/pluginUtil.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/ext-webpack-plugin/src/pluginUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -854,9 +854,9 @@ export function smartFlowPing(packageJsonPath, appJsonPath) {
const scriptType = process.env.npm_lifecycle_event;
let triggerevent = 'build';

if (scriptType === 'dev') {
if (scriptType === 'dev' || scriptType === 'dev:desktop') {
triggerevent = `npm start`;
} else if (scriptType === 'build') {
} else if (scriptType === 'build' || scriptType === 'build:desktop' ) {
triggerevent = `npm run build`;
} else {
triggerevent = `null`;
Expand Down

0 comments on commit efa8b8e

Please sign in to comment.