This repository has been archived by the owner on Sep 25, 2019. It is now read-only.
v8.0.0-rc.0
Pre-release
Pre-release
pirelenito
released this
22 Nov 23:53
·
346 commits
to master
since this release
This release removes the need for cross-env
while updating the standard npm scripts for:
{
"scripts": {
"build": "sagui build",
"dist": "sagui build --optimize",
"start": "sagui develop --port 3000",
"test": "npm run test:lint && npm run test:typecheck && npm run test:unit",
"test:lint": "sagui test:lint",
"test:typecheck": "sagui test:typecheck",
"test:unit": "sagui test:unit --coverage",
"test:unit:watch": "sagui test:unit --watch"
}
}
If you haven't made any custom changes, upgrading from v7, should be just to point to the newest release. Sagui will take care of updating the scripts for you.
A side-effect of this change is that the build
and dist
scripts always complile with the NODE_ENV=production
.