2025-07-16 22:29:28 +08:00
|
|
|
"use strict";
|
|
|
|
|
|
2020-04-20 13:36:55 +08:00
|
|
|
/** @type {import("../../../").Configuration} */
|
2018-03-02 23:49:15 +08:00
|
|
|
module.exports = {
|
|
|
|
|
mode: "production",
|
|
|
|
|
entry: "./index",
|
|
|
|
|
stats: {
|
2019-07-17 23:30:25 +08:00
|
|
|
assets: true,
|
|
|
|
|
chunkGroups: true,
|
2020-09-03 17:38:38 +08:00
|
|
|
chunkGroupAuxiliary: true,
|
2018-03-02 23:49:15 +08:00
|
|
|
chunks: true,
|
|
|
|
|
chunkModules: true,
|
2020-09-02 00:08:09 +08:00
|
|
|
dependentModules: true,
|
2018-03-04 13:24:10 +08:00
|
|
|
modules: true,
|
|
|
|
|
moduleAssets: true
|
2018-03-02 23:49:15 +08:00
|
|
|
},
|
|
|
|
|
module: {
|
|
|
|
|
rules: [
|
|
|
|
|
{
|
|
|
|
|
test: /\.png$/,
|
2018-03-04 13:24:10 +08:00
|
|
|
use: [
|
|
|
|
|
{
|
|
|
|
|
loader: "file-loader",
|
|
|
|
|
options: {
|
|
|
|
|
name: "[name].[ext]"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
2018-03-02 23:49:15 +08:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
};
|