Skip to content

Commit

Permalink
Keep relevant mysql function names.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed Sep 15, 2023
1 parent 166a365 commit 6583028
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rollup.config.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ const nodeResolve = require('@rollup/plugin-node-resolve');
const commonjs = require('@rollup/plugin-commonjs');
const json = require('@rollup/plugin-json');
const minify = require('@rollup/plugin-terser');


module.exports = {
input: ['./index.ts'], // Matches all TypeScript files in the 'src' directory and its subdirectories
plugins: [
Expand All @@ -14,7 +16,9 @@ module.exports = {
nodeResolve(),
commonjs(),
json(),
minify(),
minify({
keep_fnames: /Packet|ChangeUser|Handshake|Ping|Query|Quit|Sequence|Statistics/,
}),
],
external: ['better-sqlite3'],
output: {
Expand Down

0 comments on commit 6583028

Please sign in to comment.