mirror of https://github.com/portainer/portainer
20 lines
407 B
JavaScript
20 lines
407 B
JavaScript
const webpackMerge = require('webpack-merge');
|
|
const commonConfig = require('./webpack.common.js');
|
|
|
|
module.exports = webpackMerge(commonConfig, {
|
|
mode: 'production',
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.(woff|woff2|eot|ttf|svg|ico|png|jpg|gif)$/,
|
|
use: [
|
|
{
|
|
loader: 'url-loader',
|
|
options: { limit: 25000 }
|
|
}
|
|
]
|
|
},
|
|
]
|
|
}
|
|
});
|