Comments (3)
There is a way to turn off this behavior: if you make the filesDest
field end in a "/" or "\", it will always output a folder, even if only one single file was protected.
Example: options.filesDest = "dist/";
from jscrambler.
Hello. The issue here is that when the project has only a single file, Jscrambler outputs a file instead of outputting a directory.
Is this causing you problems?
from jscrambler.
Yes. That’s the issue.
If this is the intended behavior, it’s very inconsistent and needs to be changed IMO. In the config, you usually specify an output directory. Regardless of how many files you processed, the result should be sitting there in the output dir.
from jscrambler.
Related Issues (20)
- Security Vulnerability https://npmjs.com/advisories/1774 HOT 1
- Please update your dependencies
- Playground Applications Sources can't be updated - jscrambler-webpack-plugin HOT 1
- Error 401 Unauthorized - Invalid signature, When obfuscating HOT 3
- 95% emitting unnamed compat pluginError: Unexpected Response: socket hang up HOT 1
- is vite compatible? HOT 1
- update dependencies HOT 1
- jscrambler-webpack-plugin accept config file path HOT 2
- Best practices / coding issues to avoid when using JScrambler HOT 1
- Fatal error: [Error: Error: The application you are trying to protect does not have any file to protect] HOT 5
- Unsupported jscramber version and 400 error (CLI) HOT 11
- Required *applicationId* not provided HOT 7
- Don't require babel-polyfill HOT 1
- [RN] Error calling protectAndDownload from metro-plugin HOT 1
- Error: Unexpected Response: utils.isBuffer is not a function at /projectfolder/node_modules/jscrambler/dist/client.js:211:11 HOT 1
- Angular SSR: support
- Error: You have exceeded the number of files in your application HOT 3
- Proxy not working HOT 1
- Error: Unexpected Response: socket hang up HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jscrambler.