Repo created
This commit is contained in:
parent
f3a6b3a320
commit
f954c78789
614 changed files with 135712 additions and 2 deletions
23
_scripts/webpack.botGuardScript.config.js
Normal file
23
_scripts/webpack.botGuardScript.config.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
const path = require('path')
|
||||
|
||||
/** @type {import('webpack').Configuration} */
|
||||
module.exports = {
|
||||
name: 'botGuardScript',
|
||||
// Always use production mode, as we use the output as a function body and the debug output doesn't work for that
|
||||
mode: 'production',
|
||||
devtool: false,
|
||||
target: 'web',
|
||||
entry: {
|
||||
botGuardScript: path.join(__dirname, '../src/botGuardScript.js'),
|
||||
},
|
||||
output: {
|
||||
filename: '[name].js',
|
||||
path: path.join(__dirname, '../dist'),
|
||||
library: {
|
||||
type: 'modern-module'
|
||||
}
|
||||
},
|
||||
experiments: {
|
||||
outputModule: true
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue