ClojureScript + LiveView

Went ahead and removed Parcel too. Installed the Dart Sass and am using that instead. I now have the smallest package.json I ever produced:

{
  "repository": {},
  "description": " ",
  "license": "MIT",
  "dependencies": {
    "phoenix": "file:../deps/phoenix",
    "phoenix_html": "file:../deps/phoenix_html",
    "phoenix_live_view": "file:../deps/phoenix_live_view"
  },
  "devDependencies": {
    "bulma": "^0.9.1",
    "shadow-cljs": "^2.14.5"
  }
}

And the dev.exs reference of npm changed to sass, like:

...
watcher:
    ...
    sass: [
      "--watch",
      "assets/css/app.scss",
      "priv/static/css/assets.css",
    ],

Not sure I did it right but it works.

2 Likes