humus/app/.neutrinorc.js
2021-03-22 04:44:02 -05:00

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');
},
],
};