From 22c1802ff3d848377f7b95725f0db418fd1196c9 Mon Sep 17 00:00:00 2001 From: ukyo Date: Wed, 21 Mar 2018 22:23:52 +0900 Subject: [PATCH] smallfix --- package.json | 4 ++-- src/core/zlib_backend_wrapper.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index fd42dd6..2d9ccd0 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,8 @@ "name": "jsziptools", "version": "3.0.0-rc1", "description": "It's a utility of zlib, gzip and zip format binary data.", - "main": "./dist/index.bundle.js", - "types": "./dist/src/index.d.ts", + "main": "./dist-npm/index.js", + "types": "./dist-npm/index.d.ts", "directories": { "example": "examples", "test": "test" diff --git a/src/core/zlib_backend_wrapper.ts b/src/core/zlib_backend_wrapper.ts index a28f5c9..5e1d11e 100644 --- a/src/core/zlib_backend_wrapper.ts +++ b/src/core/zlib_backend_wrapper.ts @@ -1,4 +1,4 @@ -import * as zlib from '../../node_modules/zlib-asm/index'; +import * as zlib from 'zlib-asm'; export interface ZlibBackend { deflate(buffer: Uint8Array, compressionLevel?: number, chunkSize?: number): Uint8Array;