package.build.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of is-what Show documentation
Show all versions of is-what Show documentation
JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.
The newest version!
/* eslint-disable */
// npm install rollup-plugin-typescript2 typescript --save-dev
import typescript from 'rollup-plugin-typescript2'
// import { terser } from 'rollup-plugin-terser'
// import resolve from 'rollup-plugin-node-resolve'
// ------------------------------------------------------------------------------------------
// formats
// ------------------------------------------------------------------------------------------
// amd – Asynchronous Module Definition, used with module loaders like RequireJS
// cjs – CommonJS, suitable for Node and Browserify/Webpack
// esm – Keep the bundle as an ES module file
// iife – A self-executing function, suitable for inclusion as a