問題タブ [grunt-contrib-compress]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
211 参照

javascript - Grunt でディレクトリを tar.gz に圧縮する最良の方法

これを行う「grunt-tar.gz」を使用して、Gruntでディレクトリを.tar.gzに圧縮しようとしています:

ただし、ソース ファイル './target/dir.tgz' が見つからないため、エラーが発生します。grunt-shell または grunt-contrib-compress を使用してこれを行う他の方法はありますか? 最善の方法は何ですか?