Skip to content

Commit

Permalink
Fix rebuilding brave extension (#25424)
Browse files Browse the repository at this point in the history
  • Loading branch information
atuchin-m authored Sep 5, 2024
1 parent 9927da0 commit ed77d85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ const attachElementPicker = () => {
// Will be resolved by webpack to the file content.
// It's a trusted content so it's safe to use innerHTML.
// eslint-disable-next-line no-unsanitized/property
shadowRoot.innerHTML = require('./elementPicker.html?raw')
shadowRoot.innerHTML = require('./elementPicker.html')

const pickerCSSStyle: string = [
'background: transparent',
Expand Down
2 changes: 1 addition & 1 deletion components/webpack/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ module.exports = async function (env, argv) {
},
},
{
resourceQuery: /raw/,
test: /\.html/,
type: 'asset/source',
},
]
Expand Down

0 comments on commit ed77d85

Please sign in to comment.