mirror of
https://github.com/gchq/CyberChef
synced 2025-12-05 23:53:27 +00:00
ESM: Fixed OperationError detection and tidied up ops.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
const webpack = require("webpack");
|
||||
const ExtractTextPlugin = require("extract-text-webpack-plugin");
|
||||
const WebpackSyncShellPlugin = require("webpack-synchronizable-shell-plugin");
|
||||
|
||||
/**
|
||||
* Webpack configuration details for use with Grunt.
|
||||
@@ -43,19 +42,7 @@ module.exports = {
|
||||
raw: true,
|
||||
entryOnly: true
|
||||
}),
|
||||
new ExtractTextPlugin("styles.css"),
|
||||
new WebpackSyncShellPlugin({
|
||||
onBuildStart: {
|
||||
scripts: [
|
||||
"echo \n--- Generating config files. ---",
|
||||
"node --experimental-modules src/core/config/scripts/generateOpsIndex.mjs",
|
||||
"node --experimental-modules src/core/config/scripts/generateConfig.mjs",
|
||||
"echo --- Config scripts finished. ---\n"
|
||||
],
|
||||
blocking: true,
|
||||
parallel: false
|
||||
}
|
||||
})
|
||||
new ExtractTextPlugin("styles.css")
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
|
||||
Reference in New Issue
Block a user