Fixed prod build and Actions now creates a sitemap

This commit is contained in:
n1474335 2021-01-22 15:17:17 +00:00
parent fabea8cc61
commit 7747bfe0f2
3 changed files with 7 additions and 4 deletions

View file

@ -30,6 +30,9 @@ jobs:
run: npx grunt prod
- name: UI Tests
run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
- name: Generate sitemap
run: npx grunt exec:sitemap
# - name: grunt copy:ghPages
# - name: Deploy
# uses: peaceiris/actions-gh-pages@v3
# with:

View file

@ -242,10 +242,6 @@ module.exports = function (grunt) {
entry: Object.assign({
main: "./src/web/index.js"
}, moduleEntryPoints),
output: {
publicPath: "",
globalObject: "this"
},
resolve: {
alias: {
"./config/modules/OpModules.mjs": "./config/modules/Default.mjs"

View file

@ -34,6 +34,10 @@ const banner = `/**
module.exports = {
output: {
publicPath: "",
globalObject: "this"
},
plugins: [
new webpack.ProvidePlugin({
$: "jquery",