Skip to content

Commit 18fcc01

Browse files
authored
feat(cc-widgets): resolve webpack build failure for http/https modules (#612)
1 parent fec1679 commit 18fcc01

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

packages/contact-center/cc-widgets/webpack.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ module.exports = merge(baseConfig, {
1515
import: './src/index.ts',
1616
},
1717
},
18+
resolve: {
19+
fallback: {
20+
...baseConfig.resolve?.fallback,
21+
http: false,
22+
https: false,
23+
},
24+
},
1825
output: {
1926
path: path.resolve(__dirname, 'dist'),
2027
filename: '[name].js', // Set the output filename to index.js

0 commit comments

Comments
 (0)