This repository has been archived on 2024-10-30. You can view files and clone it, but cannot push or open issues or pull requests.
rage-framework-rpc/webpack.config.js

13 lines
330 B
JavaScript
Raw Normal View History

2018-11-02 05:10:24 +00:00
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',
2018-11-02 05:29:47 +00:00
libraryTarget: 'umd',
globalObject: "typeof self !== 'undefined' ? self : this"
2018-11-02 05:10:24 +00:00
}
};