Got it working

This commit is contained in:
Joshua Seigler 2019-05-06 03:44:45 -04:00
parent 3b3e3c9c42
commit 1852bbf12e
49 changed files with 530 additions and 294 deletions

View file

@ -1,7 +1,9 @@
const path = require('path');
exports.routes = ['/operative', '/siren', '/beastmaster', '/bot-jock'];
exports.webpack = function (config, env) {
let { production, webpack } = env;
// let { production, webpack } = env;
config.resolve.alias['@constants'] = path.resolve(__dirname, 'src/constants');
config.resolve.alias['preact-compat'] = 'preact/compact';
}
// config.resolve.alias['preact-compat'] = 'preact/compact';
};