Comments (2)
the example is correct, in that it says "internal_folder", ie relative to inside of archive. it works this way as archives are only meant to be singular per each grunt multi-task target. thus all your file dests are going to be relative to inside of the resulting archive. it would be a nightmare to support multiple archives in a single target and the way it works flows with grunts concept of multi-task targets.
EDIT sorry for the misunderstanding and multiple semi-unrelated posts.
from grunt-contrib-compress.
It did not seems obvious to me in fact, I fall exactly in the same trap and loose a lot of time on this trying to understand what was wrong or what property to modify in order to get the job done.
Finally after many many tries, I had to read this thread to find out what was wrong.
Examples are not really explicit and it is no error message.
I guess that an improved documentation would avoid those misunderstandings.
from grunt-contrib-compress.
Related Issues (20)
- optional brotli dependency breaks windows installs HOT 5
- How to compress symlink?
- Release 1.4.3 breaking builds HOT 2
- Archiver 2.0.0 HOT 1
- Fatal error: Cannot read property 'pipesCount' of undefined HOT 4
- Sometimes Generates Duplicate Files in Same Folder HOT 2
- Fatal error when compressing files larger than 2GB
- Rename function is ignored HOT 1
- Better compression ratios HOT 1
- Fatal error: path must be a string or Buffer
- Feature request: Zip file output mime type
- Tar file corrupted when attempting to create <pkg.name>.tar HOT 1
- [Security] Vulnerability in `tar` HOT 4
- Possible to exclude archives that would be empty?
- Update iltorb to fix tar vulnerability and compatibility with Node 12 HOT 2
- Lodash prototype pollution vulnerability
- Update iltorb to 2.4.4 to support Node 13
- Exclude folder does not work
- Security vuln with [email protected]
- Upgrade to Node 14 is breaking grunt compress output
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 grunt-contrib-compress.