react-instantsearch-core

v7.2.1
⚡ Lightning-fast search for React, by Algolia
algolia components fast instantsearch react search

build

yarn build:cjs && yarn build:es && yarn build:umd && yarn build:types

clean

rm -rf dist

watch

yarn build:cjs --watch

version

./scripts/version.cjs

build:es

BABEL_ENV=es babel src --root-mode upward --extensions '.js,.ts,.tsx' --out-dir dist/es --ignore '**/__tests__/**/*','**/__mocks__/**/*' --quiet

build:cjs

BABEL_ENV=cjs babel src --root-mode upward --extensions '.js,.ts,.tsx' --out-dir dist/cjs --ignore '**/__tests__/**/*','**/__mocks__/**/*' --quiet && ../../scripts/prepare-cjs.sh

build:umd

BABEL_ENV=rollup rollup -c rollup.config.js

build:types

tsc -p ./tsconfig.declaration.json --outDir ./dist/es

test:exports

node ./test/module/is-es-module.mjs && node ./test/module/is-cjs-module.cjs

Metadata

  • MIT
  • Whatever
  • Algolia, Inc.
  • released 10/25/2023

Downloads