GoogleChromeLabs / wasm-feature-detect

A small library to detect which features of WebAssembly are supported.

Home Page:https://webassembly.org/roadmap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

package.json missing field "main" in v1.5.1

itagn opened this issue · comments

use wasm-feature-detect

import { simd } from 'wasm-feature-detect';

then

npm run build

Module not found: Error: Can't resolve 'wasm-feature-detect'

should be my node.js version is 12.22, not support field "exports"

This looks like a local tooling issue indeed. The publint tool is happy, too.