Skip to content

Commit 9ccb9ad

Browse files
committed
bump
1 parent b2336d7 commit 9ccb9ad

File tree

7 files changed

+27
-0
lines changed

7 files changed

+27
-0
lines changed

api.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ <h3 id="nlz-build-nlz-watch">nlz build, nlz watch</h3>
107107
as well as CSS and HTML file support.</p>
108108
<p>Most of these parameters and options can be set via <code>.nlzrc</code>,
109109
allowing developers to simply run <code>nlz build --watch</code>.</p>
110+
<p>Note that the builder <strong>does not support buildilng web components!</strong>
111+
This is essentially impossible to do.
112+
Only use web components in a SPDY environment.</p>
110113
<h4 id="entry-points">Entry Points</h4>
111114
<pre><code class="lang-bash">nlz build [entrypoints...]
112115

api/nlz.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ as well as CSS and HTML file support.
4242
Most of these parameters and options can be set via `.nlzrc`,
4343
allowing developers to simply run `nlz build --watch`.
4444

45+
Note that the builder __does not support buildilng web components!__
46+
This is essentially impossible to do.
47+
Only use web components in a SPDY environment.
48+
4549
#### Entry Points
4650

4751
```bash

guide.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ <h4 id="prepend-relative-urls-with-if-it-contains-a-">Prepend relative URLs with
3636
To avoid this confusion, just prepend it with a <code>./</code>:</p>
3737
<pre><code class="lang-css"><span class="hljs-attribute">background-image</span>: <span class="hljs-string">url('./images/[email protected]')</span>
3838
</code></pre>
39+
</div></section><section><div class="container"><h2 id="authoring-html">Authoring Web Components</h2><h3 id="only-use-web-components-in-a-spdy-environment">Only use web components in a SPDY environment</h3>
40+
<p>Normalize does not support creating bundles with web components.
41+
Doing so in an unopinionated manner is very difficult.
42+
Instead, you should only use web components with a SPDY push server
43+
(or allow your users to suffer the latency).</p>
3944
</div></section><section><div class="container"><h2 id="bundling">Bundling</h2><p>As shown via <code>nlz build(1)</code>,
4045
you can build multiple entry points, whether <code>.js</code> or <code>.css</code>,
4146
all at the same time.</p>

guide/html.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
### Only use web components in a SPDY environment
3+
4+
Normalize does not support creating bundles with web components.
5+
Doing so in an unopinionated manner is very difficult.
6+
Instead, you should only use web components with a SPDY push server
7+
(or allow your users to suffer the latency).

guide/index.jade

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ block main
1818
h2(id='authoring-css') Authoring CSS
1919
include:markdown css.md
2020

21+
section: .container
22+
h2(id='authoring-html') Authoring Web Components
23+
include:markdown html.md
24+
2125
section: .container
2226
h2(id='bundling') Bundling
2327
include:markdown bundling.md

index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
There are no more JSON files to declare dependencies in - just inline them in your code.
2020
If you wish to use private modules, simply setup your own proxy!</p>
2121
<h3 id="no-concatenation-step">No Concatenation Step with SPDY Push</h3><p>SPDY push allows websites to avoid a concatenation step - just SPDY push all your assets!
22+
Previously, concatenation steps were required to avoid unnecessary HTTP roundtrips,
23+
but this latency is nonexistent with SPDY push!
2224
However, <a href="https://github.com/normalize/nlz"><code>nlz(1)</code></a> still includes a concatenation step if you still wish to create bundles.</p>
2325
<ul>
2426
<li><a href="https://github.com/normalize/koa.js">koa-normalize</a> - a SPDY push server for <a href="https://koajs.com">koa</a></li>

index/index.jade

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ block main
5050
h3(id='no-concatenation-step') No Concatenation Step with SPDY Push
5151
:markdown
5252
SPDY push allows websites to avoid a concatenation step - just SPDY push all your assets!
53+
Previously, concatenation steps were required to avoid unnecessary HTTP roundtrips,
54+
but this latency is nonexistent with SPDY push!
5355
However, [`nlz(1)`](https://github.com/normalize/nlz) still includes a concatenation step if you still wish to create bundles.
5456

5557
- [koa-normalize](https://github.com/normalize/koa.js) - a SPDY push server for [koa](https://koajs.com)

0 commit comments

Comments
 (0)