mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-11 11:34:26 +00:00
c9676cac62
* (Reapplied) Upgrade to Webpack 4 * remove yarn.lock from gitignore * add yarn.lock * custom hashing for css and client bundle filenames * add hash-files dep * update deps * add .wwp-cache to .gitignore * use latest git hash as filename hash * remove unused hash-files dep * update favicon plugin * remove yarn.lock
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;
|