Avoid loading all the moment locales

This commit is contained in:
JC Brand 2018-11-15 11:44:16 +01:00
parent 01c3d35db2
commit a5fdbb0e8a
2 changed files with 5 additions and 9428 deletions

9429
dist/converse.js vendored

File diff suppressed because it is too large Load Diff

View File

@ -2,6 +2,7 @@
'use strict'
const minimist = require('minimist');
const path = require('path');
const webpack = require('webpack');
const config = {
entry: path.resolve(__dirname, 'src/converse.js'),
@ -13,6 +14,9 @@ const config = {
filename: 'converse.js'
},
devtool: 'source-map',
plugins: [
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/)
],
module: {
rules: [
{