updated to webpack 4

This commit is contained in:
Danny Coates 2018-07-12 13:13:49 -07:00
parent b76899a353
commit ebf6bda467
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
17 changed files with 6052 additions and 5223 deletions

View file

@ -1,6 +1,6 @@
const genmap = require('../build/generate_asset_map');
const isServer = typeof genmap === 'function';
const prefix = isServer ? '/' : '';
const prefix = '';
let manifest = {};
try {
//eslint-disable-next-line node/no-missing-require

View file

@ -1,7 +1,7 @@
const gen = require('../build/generate_l10n_map');
const isServer = typeof gen === 'function';
const prefix = isServer ? '/' : '';
const prefix = '';
let manifest = {};
try {
// eslint-disable-next-line node/no-missing-require