Skip to content

Commit

Permalink
test(client): presence tracker improvements
Browse files Browse the repository at this point in the history
+ add tinylicious reference and start script
+ add webpack source map
  • Loading branch information
jason-ha committed Oct 6, 2024
1 parent 920a65f commit 865531d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/apps/presence-tracker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"prepack": "npm run webpack",
"start": "webpack serve",
"start:client:test": "webpack serve --config webpack.test.cjs",
"tinylicious": "tinylicious",
"test": "npm run test:jest",
"test:jest": "jest",
"test:jest:verbose": "cross-env FLUID_TEST_VERBOSE=1 jest --passWithNoTests",
Expand Down Expand Up @@ -71,6 +72,8 @@
"prettier": "~3.0.3",
"puppeteer": "^22.2.0",
"rimraf": "^4.4.0",
"source-map-loader": "^5.0.0",
"tinylicious": "^5.0.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.1",
"typescript": "~5.4.5",
Expand Down
4 changes: 4 additions & 0 deletions examples/apps/presence-tracker/webpack.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ module.exports = (env) => {
test: /\.tsx?$/,
loader: "ts-loader",
},
{
test: /\.m?js$/,
use: ["source-map-loader"],
},
],
},
output: {
Expand Down
6 changes: 6 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 865531d

Please sign in to comment.