File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed
Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 11# Built files
22* .js
3+ ! index.js
34! binding.js
45* .map
56* .d.ts
Original file line number Diff line number Diff line change 1+ "use strict" ;
2+ Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
3+ exports . minify = void 0 ;
4+ const binding = require ( "./binding" ) ;
5+ async function minify ( content , options ) {
6+ return binding . minify ( content , toBuffer ( options ) ) ;
7+ }
8+ exports . minify = minify ;
9+ function toBuffer ( t ) {
10+ return Buffer . from ( JSON . stringify ( t ) ) ;
11+ }
Original file line number Diff line number Diff line change 1+ "use strict" ;
2+ Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
3+ exports . minify = void 0 ;
4+ const binding = require ( "./binding" ) ;
5+ async function minify ( content , options ) {
6+ return binding . minify ( content , toBuffer ( options ) ) ;
7+ }
8+ exports . minify = minify ;
9+ function toBuffer ( t ) {
10+ return Buffer . from ( JSON . stringify ( t ) ) ;
11+ }
You can’t perform that action at this time.
0 commit comments