File tree Expand file tree Collapse file tree 1 file changed +17
-9
lines changed
blog/25-08-31/simple-browser-rollup-example/ex Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ <h3>rollup example</h3>
4747
4848 <div style='display:flex;flex-direction:column;gap:10px'>
4949
50+ <h4>index.html</h4>
51+
5052 <input value=download type=button onclick='download()'>
5153 <br>
5254 <a href='/test.html'>test</a>
@@ -76,6 +78,14 @@ <h3>rollup example</h3>
7678
7779 files [ 'test.html' ] = `
7880
81+ <div style='display:flex;flex-direction:column;gap:10px'>
82+
83+ <h4>test.html</h4>
84+
85+ <a href='/'>home</a>
86+ <div id=output style='white-space:pre;font-family:monospace'></div>
87+ </div>
88+
7989 <script type=module>
8090
8191 import {espree} from '/espree.m.js';
@@ -119,15 +129,18 @@ <h3>rollup example</h3>
119129
120130 </scr` + `ipt>
121131
132+ ` ;
133+
134+ files [ 'test2.html' ] = `
135+
122136 <div style='display:flex;flex-direction:column;gap:10px'>
137+
138+ <h4>test2.html</h4>
139+
123140 <a href='/'>home</a>
124141 <div id=output style='white-space:pre;font-family:monospace'></div>
125142 </div>
126143
127- ` ;
128-
129- files [ 'test2.html' ] = `
130-
131144 <script src='espree.js'></scr` + `ipt>
132145 <script>
133146 console.log(espree);
@@ -170,11 +183,6 @@ <h3>rollup example</h3>
170183
171184 </scr` + `ipt>
172185
173- <div style='display:flex;flex-direction:column;gap:10px'>
174- <a href='/'>home</a>
175- <div id=output style='white-space:pre;font-family:monospace'></div>
176- </div>
177-
178186 ` ;
179187
180188
You can’t perform that action at this time.
0 commit comments