Skip to content

Commit

Permalink
Add function (#200)
Browse files Browse the repository at this point in the history
The code block for using the API did not have the word function in `async function runBundle`. It now runs if copy/pasted
  • Loading branch information
Noviny authored and DeMoorJasper committed Jul 10, 2018
1 parent bb2a2e6 commit 2d05c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/i18n/en/docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const options = {
detailedReport: false // Prints a detailed report of the bundles, assets, filesizes and times, defaults to false, reports are only printed if watch is disabled
};

async runBundle() {
async function runBundle() {
// Initializes a bundler using the entrypoint location and options provided
const bundler = new Bundler(file, options);

Expand Down

0 comments on commit 2d05c45

Please sign in to comment.