kajetansw / purescript-react-vite-starter

This is a starter project for everyone who'd like to start with PureScript with React and Vite as a tool for your dev server and build.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build:spago:prod builds twice?

andys8 opened this issue · comments

commented

Judging from the build times and output this seems to build twice.

"build:spago:prod": "spago build && spago bundle-app --to './src/index.prod.js' && npm run transform-require",

npm run build:spago:prod

> purescript-react-vite-starter@0.0.0 build:spago:prod
> spago build && spago bundle-app --to './src/index.prod.js'

[info] Build succeeded.
[info] Build succeeded.

  src/index.prod.js  1020.1kb

⚡ Done in 150ms
[info] Bundle succeeded and output file to ./src/index.prod.js