Skip to content

Commit

Permalink
- upgrade @plotdb/srcbuild to 0.0.13 for fixing view/pug -> ext/pug
Browse files Browse the repository at this point in the history
   parameter passing issue
  • Loading branch information
zbryikt committed Apr 14, 2021
1 parent 2aa6c8c commit a94d766
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 92 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## v2.3.11

- upgrade `@plotdb/srcbuild` to `0.0.13` for fixing view/pug -> ext/pug parameter passing issue


## v2.3.10

- upgrade `@plotdb/srcbuild` to `0.0.12` for fixing base, desdir and bundling path log bug
Expand Down
2 changes: 1 addition & 1 deletion lib/server.ls
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ server = do
if i18n => app.use i18next-http-middleware.handle i18n, {ignoreRoutes: <[]>}

# we precompile all view pug into .view folder, which can be used by our custom pug view engine.
app.engine 'pug', pug({logger: @log, i18n: i18n, viewdir: '.view', srcdir: 'src/pug'})
app.engine 'pug', pug({logger: @log, i18n: i18n, viewdir: '.view', srcdir: 'src/pug', desdir: 'static'})
app.set 'view engine', 'pug'
app.set 'views', path.join(cwd, './src/pug/')
app.locals.viewdir = path.join(cwd, './.view/')
Expand Down
178 changes: 89 additions & 89 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a94d766

Please sign in to comment.