Sha256: bd46884ae35f4d4fbde02ab1cd7b523406059be9574e91aea0e4a791e05125d1
Contents?: true
Size: 864 Bytes
Versions: 9
Compression:
Stored size: 864 Bytes
Contents
const path = require('path'); const webpack = require('webpack'); const resolve = function(...args) { return path.resolve(__dirname, ...args); }; module.exports = { mode: 'production', target: 'web', entry: resolve('./src/index.ts'), output: { path: resolve('./build/browser'), filename: 'index.min.js', library: 'Authing', libraryTarget: 'window' }, module: { rules: [ { test: /\.tsx?$/, use: 'ts-loader', exclude: /node_modules/ } ] }, resolve: { extensions: ['.ts', '.js'], fallback: { crypto: require.resolve('crypto-browserify'), stream: require.resolve('stream-browserify') // process: require.resolve('process') } }, plugins: [ new webpack.ProvidePlugin({ process: 'process/browser', Buffer: ['buffer', 'Buffer'] }) ] };
Version data entries
9 entries across 9 versions & 1 rubygems