mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 19:33:24 +00:00
updated to webpack 4
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user