mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 21:43:38 +08:00
13 lines
282 B
JavaScript
13 lines
282 B
JavaScript
|
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$/)
|
||
|
]
|
||
|
});
|