Skip to content

Commit

Permalink
fix js13k build
Browse files Browse the repository at this point in the history
html must have body tag
  • Loading branch information
KilledByAPixel committed Sep 2, 2024
1 parent 93206cf commit a2d86ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/js13k/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ function htmlBuildStep(filename)

// create html file
let buffer = '';
buffer += '<body>';
buffer += '<script>';
buffer += fs.readFileSync(filename);
buffer += '</script>';
Expand Down

0 comments on commit a2d86ab

Please sign in to comment.