Skip to content

Commit

Permalink
(build) browser build is CommonJS and IIFE (global)
Browse files Browse the repository at this point in the history
- dropping support for AMD, which we never truly supported
  in the first place

  Resolves highlightjs#2505
  • Loading branch information
joshgoebel committed Apr 25, 2020
1 parent 3875088 commit 935aac5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/build_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ module.exports = {
},
output: {
name: "hljs",
format: "umd",
format: "iife",
footer: "if (typeof module !== 'undefined') { module.exports = hljs; }",
interop: false,
}
},
Expand Down

0 comments on commit 935aac5

Please sign in to comment.