jellyfin-web/webpack.prod.js

25 lines
581 B
JavaScript
Raw Normal View History

2019-09-30 13:51:46 -07:00
const path = require("path");
const common = require("./webpack.common");
const merge = require("webpack-merge");
module.exports = merge(common, {
mode: "production",
output: {
2019-09-30 16:58:05 -07:00
filename: "bundle.js",
path: path.resolve(__dirname, "dist"),
libraryTarget: "amd-require"
},
module: {
rules: [
{
test: /\.css$/i,
use: ["style-loader", "css-loader"]
2019-09-30 16:58:05 -07:00
},
{
test: /\.(png|jpg|gif)$/i,
use: ["file-loader"]
}
]
}
2019-09-30 13:51:46 -07:00
});