12 lines
263 B
JavaScript
12 lines
263 B
JavaScript
|
const path = require('path');
|
||
|
|
||
|
module.exports = {
|
||
|
entry: './src/index.js',
|
||
|
mode: 'production',
|
||
|
output: {
|
||
|
path: path.resolve(__dirname, 'dist'),
|
||
|
filename: 'rage-rpc.min.js',
|
||
|
library: 'rpc',
|
||
|
libraryTarget: 'umd'
|
||
|
}
|
||
|
};
|