mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-10 16:15:01 -04:00
feat(new tool): JS Unobfuscator
webcrack is a tool for reverse engineering javascript. It can deobfuscate obfuscator.io, unminify, transpile, and unpack webpack/browserify, to resemble the original source code as much as possible.
This commit is contained in:
parent
e876d03608
commit
b5d3ed6b89
7 changed files with 1035 additions and 106 deletions
|
@ -15,6 +15,7 @@ import { VitePWA } from 'vite-plugin-pwa';
|
|||
import markdown from 'vite-plugin-vue-markdown';
|
||||
import svgLoader from 'vite-svg-loader';
|
||||
import { configDefaults } from 'vitest/config';
|
||||
import { nodePolyfills } from 'vite-plugin-node-polyfills';
|
||||
|
||||
const baseUrl = process.env.BASE_URL ?? '/';
|
||||
|
||||
|
@ -97,6 +98,9 @@ export default defineConfig({
|
|||
resolvers: [NaiveUiResolver(), IconsResolver({ prefix: 'icon' })],
|
||||
}),
|
||||
Unocss(),
|
||||
nodePolyfills({
|
||||
exclude: ['fs'],
|
||||
}),
|
||||
],
|
||||
base: baseUrl,
|
||||
resolve: {
|
||||
|
@ -112,5 +116,11 @@ export default defineConfig({
|
|||
},
|
||||
build: {
|
||||
target: 'esnext',
|
||||
rollupOptions: {
|
||||
external: ['./out/isolated_vm'],
|
||||
},
|
||||
},
|
||||
optimizeDeps: {
|
||||
exclude: ['isolated-vm'],
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue