17 lines
375 B
TypeScript
17 lines
375 B
TypeScript
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];
|