Skip to content

Commit 6282862

Browse files
committed
2.14.0
1 parent e551492 commit 6282862

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## 2.14.0 (21-03-2025)
2+
3+
- Added basic script mode build for models:
4+
- Added support for `script` section in config, which enables model's script build
5+
```js
6+
modelConfig = {
7+
script: {
8+
// script.modules is the same as view.assets
9+
modules: ['path/to/module.js', ...]
10+
}
11+
}
12+
```
13+
- Added new options for build: `--script-names`, `--script-format` and `--script-format`
14+
- Bumped `esbuild` to `^0.25.1`
15+
116
## 2.13.1 (20-01-2025)
217

318
- Fixed crash on build when model's data is used from a cache file (a regression introduced in 2.13.0)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@discoveryjs/cli",
3-
"version": "2.13.1",
3+
"version": "2.14.0",
44
"description": "CLI tools to serve & build projects based on Discovery.js",
55
"author": "Roman Dvornov <[email protected]> (https://github.com/lahmatiy)",
66
"license": "MIT",

0 commit comments

Comments
 (0)