mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 19:21:18 -04:00
use lit-html instead of unsafe innerHTML on /projects
This commit is contained in:
@@ -95,6 +95,23 @@ GitHub: https://github.com/jakejarvis/jarv.is`,
|
||||
},
|
||||
],
|
||||
],
|
||||
plugins: [
|
||||
[
|
||||
"template-html-minifier",
|
||||
{
|
||||
modules: {
|
||||
"lit-html": ["html"],
|
||||
"lit-element": ["html"],
|
||||
},
|
||||
htmlMinifier: {
|
||||
html5: true,
|
||||
collapseWhitespace: true,
|
||||
removeComments: false,
|
||||
caseSensitive: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
|
Reference in New Issue
Block a user