mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-11 17:07:07 +01:00
16 lines
333 B
JavaScript
16 lines
333 B
JavaScript
/** @type {import('webpack').Configuration} */
|
|
export const publicLibConfig = {
|
|
mode: 'production',
|
|
entry: './public/lib.js',
|
|
cache: true,
|
|
devtool: 'source-map',
|
|
module: {},
|
|
experiments: {
|
|
outputModule: true,
|
|
},
|
|
output: {
|
|
filename: 'lib.js',
|
|
libraryTarget: 'module',
|
|
},
|
|
};
|