@luminati-io/cbor-x
Version:
Ultra-fast and conformant CBOR (RFC 8949) implementation with support for numerous tag extensions including records and structured cloning
20 lines (19 loc) • 406 B
JavaScript
var webpack = require('webpack')
var path = require('path')
module.exports = {
entry: {
index: './browser.js'
},
output: {
path: path.join(__dirname, 'dist'),
library: 'CBOR',
libraryTarget: 'umd'
},
node: { Buffer: false },
devtool: 'source-map',
optimization: {
minimize: true
},
//mode: 'development'
mode: 'production'
};