Skip to content

Commit

Permalink
Migrate legacy HTML imports in brave_ipfs_page to JS module imports
Browse files Browse the repository at this point in the history
Otherwise optimized builds will fail due to not being able to find
the associated *.m.js files during the rollup process.
  • Loading branch information
mariospr committed May 5, 2021
1 parent 444564a commit d65a024
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<link rel="import" href="brave_ipfs_browser_proxy.html">
<script type="module" src="brave_ipfs_browser_proxy.js"></script>

<style include="settings-shared">
</style>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

<link rel="import" href="chrome://resources/html/i18n_behavior.html">
<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
<link rel="import" href="brave_ipfs_browser_proxy.html">
<link rel="import" href="p2p_keys_subpage.html">
<script type="module" src="brave_ipfs_browser_proxy.js"></script>
<script type="module" src="p2p_keys_subpage.js"></script>
<script type="module" src="../settings_page/settings_section.js"></script>
<script type="module" src="../settings_shared_css.js"></script>
<script type="module" src="../settings_vars_css.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<link rel="import" href="../settings_page/settings_section.html">
<link rel="import" href="../settings_shared_css.html">
<link rel="import" href="../settings_vars_css.html">
<link rel="import" href="brave_ipfs_browser_proxy.html">
<link rel="import" href="add_p2p_key_dialog.js">
<script type="module" src="brave_ipfs_browser_proxy.js"></script>

<dom-module id="settings-p2p-keys-subpage">
<template>
Expand Down

0 comments on commit d65a024

Please sign in to comment.