mirror of
https://github.com/gchq/CyberChef
synced 2024-11-14 08:37:07 +00:00
Fixed prod build and Actions now creates a sitemap
This commit is contained in:
parent
fabea8cc61
commit
7747bfe0f2
3 changed files with 7 additions and 4 deletions
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -34,6 +34,10 @@ const banner = `/**
|
|||
|
||||
|
||||
module.exports = {
|
||||
output: {
|
||||
publicPath: "",
|
||||
globalObject: "this"
|
||||
},
|
||||
plugins: [
|
||||
new webpack.ProvidePlugin({
|
||||
$: "jquery",
|
||||
|
|
Loading…
Reference in a new issue