mirror of
https://github.com/lucaspalomodevelop/monitoring-server.git
synced 2026-03-12 22:57:21 +00:00
25 lines
586 B
JavaScript
25 lines
586 B
JavaScript
const path = require("path");
|
|
const pkg = require("../package");
|
|
|
|
module.exports = {
|
|
transformModules: ["asn1.js"],
|
|
entry: ["src/polyfills.js", "src/index.js"],
|
|
html: {
|
|
title: pkg.productName,
|
|
description: pkg.description,
|
|
template: path.join(__dirname, "index.ejs")
|
|
},
|
|
postcss: {
|
|
plugins: [
|
|
// Your postcss plugins
|
|
]
|
|
},
|
|
presets: [
|
|
require("poi-preset-bundle-report")(),
|
|
require("poi-preset-offline")({
|
|
pwa: "./src/pwa.js", // Path to pwa runtime entry
|
|
pluginOptions: {} // Additional options for offline-plugin
|
|
})
|
|
]
|
|
};
|