Skip to content

Commit f736a2c

Browse files
committed
- bundle should add both codesrc and src so the dependencies will be accurate
- bump version
1 parent 4320e41 commit f736a2c

5 files changed

Lines changed: 10 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## v0.0.63
4+
5+
- bundle should add both codesrc and src so the dependencies will be accurate
6+
7+
38
## v0.0.62
49

510
- use bundler class api for bundled file path if bundler is not provided in pugbuild

dist/ext/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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,7 +1,7 @@
11
{
22
"author": "zbryikt",
33
"name": "@plotdb/srcbuild",
4-
"version": "0.0.62",
4+
"version": "0.0.63",
55
"description": "",
66
"main": "./dist/main.js",
77
"files": [

src/ext/bundle.ls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ build.prototype = Object.create(base.prototype) <<< do
227227
opts = (if Array.isArray(opts) => opts else [opts]).filter(->it)
228228
opts.map (o) ~>
229229
if o.type == \block =>
230-
@mgr.bundle blocks: o.[]codesrc
230+
@mgr.bundle blocks: (o.[]src ++ o.[]codesrc)
231231
.then (r) ~>
232232
if !(r and r.deps) => @log.warn "block bundle requires block > 4.8.0 to work properly"
233233
deps = r.deps or {js: [], css: [], block: []}

0 commit comments

Comments
 (0)