初始化
This commit is contained in:
15
webpack/ws-scrcpy.prod.ts
Normal file
15
webpack/ws-scrcpy.prod.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { backend, frontend } from './ws-scrcpy.common';
|
||||
import webpack from 'webpack';
|
||||
|
||||
const prodOpts: webpack.Configuration = {
|
||||
mode: 'production',
|
||||
};
|
||||
|
||||
const front = () => {
|
||||
return Object.assign({}, frontend(), prodOpts);
|
||||
};
|
||||
const back = () => {
|
||||
return Object.assign({}, backend(), prodOpts);
|
||||
};
|
||||
|
||||
module.exports = [front, back];
|
||||
Reference in New Issue
Block a user