0.0.3 • Published 3 years ago
wa-bluetooth-sdk v0.0.3
Generate different environments
Browser
iife
npx rollup main.js --file bundle.js --format iife
Node.js
cjs // import the entire utils object with CommonJS const utils = require('./utils');
npx rollup main.js --file bundle.js --format cjs
Browser and Node.js
npx rollup main.js --file bundle.js --format umd --name "myBundle"