Merge pull request #1393 from ing-bank/fix/simulatorNewWindow
chore: temp patch @rocket/cli simulator window
This commit is contained in:
commit
0bda0fbff3
1 changed files with 13 additions and 0 deletions
13
patches/@rocket+cli+0.6.3.patch
Normal file
13
patches/@rocket+cli+0.6.3.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/node_modules/@rocket/cli/preset/_includes/layout-simulator.njk b/node_modules/@rocket/cli/preset/_includes/layout-simulator.njk
|
||||||
|
index e8a48ba..c0916fe 100644
|
||||||
|
--- a/node_modules/@rocket/cli/preset/_includes/layout-simulator.njk
|
||||||
|
+++ b/node_modules/@rocket/cli/preset/_includes/layout-simulator.njk
|
||||||
|
@@ -11,7 +11,7 @@
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script type="module">
|
||||||
|
- import { render } from 'lit-html';
|
||||||
|
+ import { render } from 'lit';
|
||||||
|
|
||||||
|
async function onHashChange() {
|
||||||
|
const urlParts = new URLSearchParams(document.location.hash.substr(1));
|
||||||
Loading…
Reference in a new issue