@zbryikt/template 2.3.46 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/cli.js +9 -1
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -17,6 +17,10 @@ if (/\.json$/.exec(process.argv[2] || '')) {
17
17
  alias: 'r',
18
18
  description: "root directory",
19
19
  type: 'string'
20
+ }).option('mix-asset', {
21
+ alias: 'm',
22
+ description: "mix asset with pug folder",
23
+ type: 'bool'
20
24
  }).option('config', {
21
25
  alias: 'c',
22
26
  description: "config json",
@@ -57,7 +61,11 @@ main = {
57
61
  return srcbuild.lsp((ref$ = import$({
58
62
  bundle: {
59
63
  configFile: 'bundle.json'
60
- }
64
+ },
65
+ asset: argv.m ? {
66
+ srcdir: 'src/pug',
67
+ desdir: 'static'
68
+ } : void 8
61
69
  }, this$.opt.lsp || {}), ref$.base = '.', ref$.i18n = i18n, ref$));
62
70
  });
63
71
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "license": "MIT",
5
5
  "main": "bin/lib/index.js",
6
6
  "description": "simple, quick template for bootstrap a page",
7
- "version": "2.3.46",
7
+ "version": "2.4.0",
8
8
  "files": [
9
9
  "bin/**/*"
10
10
  ],