SillyTavern/webpack.config.js

24 lines
468 B
JavaScript
Raw Normal View History

/** @type {import('webpack').Configuration} */
export const publicLibConfig = {
mode: 'production',
entry: './public/lib.js',
cache: true,
devtool: false,
2024-10-16 22:11:13 +02:00
module: {},
stats: {
preset: 'minimal',
assets: false,
modules: false,
},
experiments: {
outputModule: true,
},
2024-10-16 23:49:06 +02:00
performance: {
hints: false,
},
output: {
filename: 'lib.js',
libraryTarget: 'module',
},
};