is-it-type
Advanced tools
Comparing version 3.0.2 to 3.1.0
# Changelog | ||
## 3.1.0 | ||
Features: | ||
* ESM import without `es` path | ||
Refactor: | ||
* Remove extraneous code | ||
Dev: | ||
* Improve config for running tests on ESM build | ||
## 3.0.2 | ||
@@ -4,0 +18,0 @@ |
{ | ||
"name": "is-it-type", | ||
"version": "3.0.2", | ||
"version": "3.1.0", | ||
"description": "Determine type of a variable", | ||
"main": "index.js", | ||
"module": "es/index.js", | ||
"exports": { | ||
".": { | ||
"import": "./es/index.js", | ||
"require": "./index.js" | ||
}, | ||
"./es": "./es/index.js" | ||
}, | ||
"author": { | ||
@@ -39,2 +46,3 @@ "name": "Overlook Motel" | ||
"rollup-plugin-babel": "^4.4.0", | ||
"rollup-plugin-copy": "^3.3.0", | ||
"rollup-plugin-terser": "^5.3.0" | ||
@@ -41,0 +49,0 @@ }, |
@@ -23,3 +23,3 @@ [![NPM version](https://img.shields.io/npm/v/is-it-type.svg)](https://www.npmjs.com/package/is-it-type) | ||
```js | ||
import { isString } from 'is-it-type/es'; | ||
import { isString } from 'is-it-type'; | ||
``` | ||
@@ -26,0 +26,0 @@ |
20
51025
20
373