mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
16 lines
315 B
JavaScript
16 lines
315 B
JavaScript
const CompressionPlugin = require("compression-webpack-plugin");
|
|
|
|
module.exports = {
|
|
runtimeCompiler: true,
|
|
publicPath: "[{[ .StaticURL ]}]",
|
|
parallel: 2,
|
|
configureWebpack: {
|
|
plugins: [
|
|
new CompressionPlugin({
|
|
include: /\.js$/,
|
|
deleteOriginalAssets: true,
|
|
}),
|
|
],
|
|
},
|
|
};
|