This is a high risk change: every byte the card ships is emitted by a
different bundler, minified by a different minifier, and every
stylesheet is compiled by a different sass. The intent is that the
card's behaviour is unchanged.
**Significant development win**: Build time drops from 24s to 1.1s 🎉
Also adds a test suite ('dist') that runs against the built bundle.
32 lines
609 B
JSON
32 lines
609 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Vite",
|
|
"type": "shell",
|
|
"command": "yarn",
|
|
"args": ["start"],
|
|
"problemMatcher": {
|
|
"pattern": [
|
|
{
|
|
"regexp": ".",
|
|
"file": 1,
|
|
"location": 2,
|
|
"message": 3
|
|
}
|
|
],
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": "^build started",
|
|
"endsPattern": "^built in"
|
|
}
|
|
},
|
|
"isBackground": true,
|
|
"runOptions": {
|
|
"runOn": "folderOpen",
|
|
"instanceLimit": 1
|
|
}
|
|
}
|
|
]
|
|
}
|