21 lines
427 B
JavaScript
21 lines
427 B
JavaScript
require('dotenv/config');
|
|
|
|
const {server} = require('@latus/build');
|
|
|
|
module.exports = {
|
|
options: {
|
|
root: __dirname,
|
|
},
|
|
use: [
|
|
(neutrino) => {
|
|
const entry = neutrino.config.entry('electron').clear();
|
|
entry.add('./src/electron');
|
|
},
|
|
(neutrino) => {
|
|
neutrino.config.resolve.alias
|
|
.set('pixi.js', 'pixi.js-legacy')
|
|
.set('react-dom', '@hot-loader/react-dom');
|
|
},
|
|
],
|
|
};
|