fragment-tools 0.1.19 → 0.1.20
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.
- package/bin/index.js +3 -2
- package/package.json +1 -1
- package/src/cli/build.js +1 -1
- package/src/cli/run.js +1 -1
package/bin/index.js
CHANGED
|
@@ -44,7 +44,7 @@ prog.command('run [entry]', '', { default: true })
|
|
|
44
44
|
emptyOutDir: options.emptyOutDir,
|
|
45
45
|
base: options.base,
|
|
46
46
|
prompts: options.prompts,
|
|
47
|
-
|
|
47
|
+
config: options.config,
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -52,7 +52,7 @@ prog.command('run [entry]', '', { default: true })
|
|
|
52
52
|
development: options.development,
|
|
53
53
|
exportDir: options.exportDir,
|
|
54
54
|
port: options.port,
|
|
55
|
-
|
|
55
|
+
config: options.config,
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
58
|
|
|
@@ -72,6 +72,7 @@ prog.command('build [entry]')
|
|
|
72
72
|
.option('--base', 'Base public path', undefined)
|
|
73
73
|
.option('-dev, --development', 'Enable development mode', false)
|
|
74
74
|
.option('--prompts', 'Enable interactive prompts', true)
|
|
75
|
+
.option('--config', 'Path to Fragment config file')
|
|
75
76
|
.action((entry, options) => {
|
|
76
77
|
build(entry, options);
|
|
77
78
|
});
|
package/package.json
CHANGED
package/src/cli/build.js
CHANGED