Unverified Commit f894c981 authored by Renée Kooi's avatar Renée Kooi Committed by GitHub
Browse files

Switch to nanohtml. (#488)

## Checklist
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->
- [x] tests pass

## Semver Changes
Patch
parent 61c3dc50
......@@ -136,7 +136,7 @@ care how we do this: it's lots of glue code, and not necessarily pretty. But it
can be useful to know which optimizations we apply. This is a list:
### JavaScript
- __yo-yoify:__ Optimize `choo` HTML code so it run significantly faster in the
- __nanohtml:__ Optimize `choo` HTML code so it run significantly faster in the
browser.
- __glslify:__ Adds a module system to GLSL shaders.
- __brfs:__ Statically inline calls to `fs.readFile()`. Useful to ship assets
......
......@@ -12,7 +12,7 @@ var browserify = require('browserify')
var babelify = require('babelify')
var watchify = require('watchify')
var sheetify = require('sheetify')
var yoyoify = require('yo-yoify')
var nanohtml = require('nanohtml')
var tinyify = require('tinyify')
var glslify = require('glslify')
var envify = require('envify/custom')
......@@ -87,7 +87,7 @@ function node (state, createEdge) {
})
b.transform(brfs, { global: true })
b.transform(yoyoify, { global: true })
b.transform(nanohtml, { global: true })
if (!fullPaths) b.plugin(cssExtract, { out: bundleStyles })
......
......@@ -51,6 +51,7 @@
"keypress": "^0.2.1",
"minimist": "^1.2.0",
"mkdirp": "^0.5.1",
"nanohtml": "^1.2.4",
"nanologger": "^1.3.1",
"nanoraf": "^3.0.1",
"nanotiming": "^7.2.0",
......@@ -79,8 +80,7 @@
"v8-compile-cache": "^2.0.0",
"wasm-brotli": "^1.0.2",
"watchify": "^3.10.0",
"wayfarer": "^6.6.3",
"yo-yoify": "^4.3.0"
"wayfarer": "^6.6.3"
},
"devDependencies": {
"a-module-with-babelrc": "^1.0.0",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment