Skip to content

Commit

Permalink
* Fix path selection for bundling in app context.
Browse files Browse the repository at this point in the history
  • Loading branch information
nullivex committed Apr 19, 2019
1 parent d0ebd4a commit 3816646
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
5 changes: 4 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
### 3.8.0 (planned)

### 3.8.1 (staged)
### 3.8.2 (staged)

### 3.8.1
* Fix path selection for bundling in app context.

### 3.8.0
* More refined local entry points.
Expand Down
16 changes: 0 additions & 16 deletions kado_modules/kado/bin/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,22 +375,6 @@ program.command('bundle')
let systemEntryFolder = entryFolder
let outputFolder = path.resolve(process.env.KADO_ROOT +
'/interface/' + ifaceName + '/public/dist')
if(0 !== +process.env.KADO_USER_ROOT && fs.existsSync(
path.resolve(
process.env.KADO_USER_ROOT + '/interface/' + ifaceName + '/asset'))
)
{
entryFolder = path.resolve(process.env.KADO_USER_ROOT +
'/interface/' + ifaceName + '/asset')
}
if(0 !== +process.env.KADO_USER_ROOT && fs.existsSync(
path.resolve(
process.env.KADO_USER_ROOT + '/interface/' + ifaceName + '/public'))
)
{
outputFolder = path.resolve(process.env.KADO_USER_ROOT +
'/interface/' + ifaceName + '/public/dist')
}
//package local resources
let bundle = ''
let deferredJs = ''
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Bryan Tong <bryan@nullivex.com>",
"name": "kado",
"description": "Web Application System",
"version": "3.8.0",
"version": "3.8.1",
"homepage": "https://kado.org",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit 3816646

Please sign in to comment.