Skip to content

Commit

Permalink
LibTests: Added alias in webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
AufarZakiev committed Jan 17, 2025
1 parent d8b9b76 commit f2e2ab7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/LibTests/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ module.exports = {
},
resolve: {
extensions: ['.wasm', '.mjs', '.ts', '.tsx', '.js', '.json'],
// Needed for rxjs test scheduler to work properly
alias: {
'rxjs': path.resolve('node_modules/rxjs'),
'rxjs/operator': path.resolve('node_modules/rxjs/operator'),
},
},
module: {
rules: [
Expand Down

0 comments on commit f2e2ab7

Please sign in to comment.