const config = require('flarum-webpack-config'); const webpack = require('webpack'); const merge = require('webpack-merge'); module.exports = merge(config(), { output: { library: 'flarum.core' }, plugins: [ new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/) ] });