mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 12:11:47 +00:00
7 lines
192 B
TypeScript
7 lines
192 B
TypeScript
import Koa = require('koa');
|
|
import koaHtmlMinifier = require('koa-html-minifier');
|
|
|
|
const app = new Koa();
|
|
app.use(koaHtmlMinifier());
|
|
app.use(koaHtmlMinifier({ collapseWhitespace: true }));
|