Skip to content

Commit

Permalink
feat(cli): added appConfig option
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcaufy committed Jun 13, 2019
1 parent fd454e5 commit a617b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/core/plugins/build/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports = module.exports = function () {
config.outputCode = JSON.stringify(config.parsed.output, null, 4);

this.hook('script-dep-fix', script.parsed);
this.hook('script-injection', script.parsed, '{a: 1}');
this.hook('script-injection', script.parsed, this.options.appConfig);
script.outputCode = script.parsed.source.source();

let styleCode = '';
Expand Down

1 comment on commit a617b98

@Gcaufy
Copy link
Collaborator Author

@Gcaufy Gcaufy commented on a617b98 Jun 13, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.