mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-27 18:20:51 +00:00
* Initial attempt at webpack 4 upgrade, still not working. * Remove unused modules, update some more packages. * Wrangle types due to webpack weirdness. * Undefined function * Package updates. * Replace extract text plugin. Re-add unusable code, but comment it out. * Fix uglification * Remove custom uglify, disable concatenateModules * Upgrade and reenable favicons. Get rid of CSS warning. * Fix up tscheck * Add webpack modes to freezer, electron. * Uodate webpack dev middleware
21 lines
423 B
JavaScript
21 lines
423 B
JavaScript
// Compile freezer using the (mostly) same webpack config
|
|
'use strict';
|
|
const path = require('path');
|
|
const config = require('./config');
|
|
|
|
const freezerConfig = {
|
|
target: 'node',
|
|
mode: 'development',
|
|
entry: './common/freezer',
|
|
output: {
|
|
path: config.path.output,
|
|
filename: 'freezer.js'
|
|
},
|
|
module: {
|
|
rules: [config.typescriptRule],
|
|
},
|
|
resolve: config.resolve,
|
|
};
|
|
|
|
module.exports = freezerConfig;
|