This commit is contained in:
nik
2025-10-03 22:27:28 +03:00
parent 829fad0e17
commit 871cf7e792
16520 changed files with 2967597 additions and 3 deletions

32
node_modules/antlr4/webpack.config.cjs generated vendored Normal file
View File

@@ -0,0 +1,32 @@
const path = require('path');
const ESLintPlugin = require('eslint-webpack-plugin');
module.exports = {
mode: "production",
entry: './src/antlr4/index.js',
output: {
filename: 'antlr4.js',
path: path.resolve(__dirname, 'dist'),
// the name of the exported antlr4
library: "antlr4",
libraryTarget: 'window'
},
externals: {
module: "empty",
net: "empty",
fs: "empty"
},
target: "web",
module: {
rules: [{
test: /\.js$/,
exclude: /node_modules/,
use: [ 'babel-loader' ]
}]
},
performance: {
maxAssetSize: 512000,
maxEntrypointSize: 512000
},
plugins: [ new ESLintPlugin() ]
};