Commit a5fdbb0e authored by JC Brand's avatar JC Brand

Avoid loading all the moment locales

parent 01c3d35d
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -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: [
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment