mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 20:16:08 +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$/)
|
||
|
]
|
||
|
});
|