fix: Support single file builds in build.json
This commit is contained in:
parent
3275cc4c5a
commit
e5e39af9b9
1 changed files with 5 additions and 1 deletions
|
|
@ -198,7 +198,11 @@ function get_options_for(app) {
|
|||
.map(output_file => {
|
||||
if (output_file.startsWith('concat:')) return null;
|
||||
|
||||
const input_files = build_json[output_file]
|
||||
let files = build_json[output_file];
|
||||
if (typeof files === 'string') {
|
||||
files = [files];
|
||||
}
|
||||
const input_files = files
|
||||
.map(input_file => {
|
||||
let prefix = get_app_path(app);
|
||||
if (input_file.startsWith('node_modules/')) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue