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