Skip to content

Commit

Permalink
Remove <head> and defer tags from webpack includes
Browse files Browse the repository at this point in the history
  • Loading branch information
hyanwong committed Apr 16, 2024
1 parent b0ca647 commit caac684
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ var config = {
},
plugins: [
new HtmlWebpackPlugin({
scriptLoading: 'blocking',
filename: 'OZ_main.html',
// This template contains the script tags refering to the js files generated by
// the webpack compile command
template: OZTreeModule_src('OZ_script_template.html')
}),
new HtmlWebpackPlugin({
scriptLoading: 'blocking',
filename: 'OZui.html',
chunks: ['OZui'],
// This template contains the script tags refering to the js files generated by
Expand Down

0 comments on commit caac684

Please sign in to comment.