squint

kbaba1001 2025-04-11T02:45:25.753699Z

in this example (https://github.com/squint-cljs/squint/blob/main/examples/vite-react/bb.edn), bb is used as multiple task runner, but I want to remove this dependency, I tried to use concurrently (https://www.npmjs.com/package/concurrently) in my package.json. This package.json works well!

"scripts": {
        "vite": "vite --config=vite.config.js public",
        "squint": "squint watch",
        "dev": "concurrently \"pnpm run vite\" \"pnpm run squint\"",
        "build:squint": "squint compile",
        "build:vite": "vite --config vite-build.config.js build",
        "build": "pnpm run build:squint && pnpm run build:vite",
        "test:watch:squint": "squint watch --paths src test --output-dir public/test",
        "test:watch:vite": "vitest --config=vite.config.js",
        "test:watch": "concurrently \"pnpm run test:watch:squint\" \"pnpm run test:watch:vite\"",
        "check": "bash ./lint-format.bash",
        "preview": "http-server dist"
    },

borkdude 2025-04-11T07:25:41.161619Z

Yep thanks, I've been using this approach in some projects as well to make it more Node-only