Skip to content

Commit c140f75

Browse files
authored
added four componets (#1261)
1 parent 6968394 commit c140f75

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

scripts/build/commands/journey.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ module.exports = {
3838
execSync(`BUILD_DIST_PATH=${dest}/dist-call-history npm run build:package webex-sign-in-page`);
3939
execSync(`BUILD_DIST_PATH=${dest}/dist-call-history npm run build:package widget-voice-mail`);
4040
execSync(`BUILD_DIST_PATH=${dest}/dist-call-history npm run build:package widget-speed-dial`);
41+
execSync(`BUILD_DIST_PATH=${dest}/dist-call-history npm run build:package widget-number-pad`);
42+
4143

4244

4345

scripts/utils/build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function babelBuild(folderPath, destination, babelOptions = {}, firstFolder = tr
7171
function webpackBuild(pkgName, pkgPath) {
7272
const targetPkgPath = pkgPath || getPackage(pkgName);
7373
console.log('pkgPath:',`${pkgName}`)
74-
if (`${pkgName}` === 'widget-call-history'|| `${pkgName}` === 'widget-speed-dial' || 'widget-speed-dial' `${pkgName}` === 'webex-sign-in-page' || `${pkgName}` === 'widget-voice-mail') {
74+
if (`${pkgName}` === 'widget-call-history'||`${pkgName}` === 'widget-number-pad' || `${pkgName}` === 'widget-speed-dial' || `${pkgName}` === 'webex-sign-in-page' || `${pkgName}` === 'widget-voice-mail') {
7575
try {
7676
const webpackConfigPath = path.resolve(__dirname, '..', 'webpack', 'webpack-calling.prod.babel.js');
7777

@@ -136,7 +136,7 @@ function buildES(pkg) {
136136
const callingRollupConfigPath = path.resolve(__dirname, '..', '..', 'rollup.calling-config.js');
137137

138138

139-
if(`${pkg}` === '@webex/widget-call-history' || `${pkg}` === 'widget-speed-dial' || `${pkg}` === '@webex/webex-sign-in-page' || `${pkg}` ==='@webex/widget-voice-mail'){
139+
if(`${pkg}` === '@webex/widget-call-history' || `${pkg}` === '@webex/widget-number-pad' || `${pkg}` === 'widget-speed-dial' || `${pkg}` === '@webex/webex-sign-in-page' || `${pkg}` ==='@webex/widget-voice-mail'){
140140
// Rollup cleans the `es` folder automatically
141141
console.info(`Packaging ${pkg}...`.cyan);
142142
execSync(`cd ${targetPkgPath} && rollup -c ${callingRollupConfigPath}`);

0 commit comments

Comments
 (0)