問題タブ [gruntfile]
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.
javascript - gruntfile.js を使用して other.less を保存するときに main.less をコンパイルする方法
私のサイトにはいくつかの .less ファイルがあり、メインのファイルは他のファイルをインポートします。grunt がコンパイルする other.less ファイルを変更する状況に遭遇しましたが、必要な唯一のファイルである main.less ファイルをコンパイルしません。
gruntfile.js を構成して、ルート フォルダーの変更を検出するたびに main.less ファイルをコンパイルし、他の .less ファイルはコンパイルしないようにする方法がわかりません。
どんな助けでも大歓迎です!
javascript - Node JS プロジェクトのソナーを統合するには?
動作しているNode JSプロジェクトにsonarqubeを統合しましたが、javascriptプラグインで正常に動作しているようです。javascriptをNode JSとしてチェックするためにsonarqubeに具体的に言及できる方法があるかどうか知りたいですか?
ソナーを実行するための構成は、以下のように gruntfile.js で指定されています。
javascript - Grunt usemin getting no targets found
I followed the following tutorial: https://www.youtube.com/watch?v=gIbfDxF69c8
and keep getting No "usemin" targets found.
gruntfile.js: http://www.billiving.com/demo/script/gruntfile.js
source files: /script/app/index.html /script/app/js/file2.js
The process fails and the resulting index.html doesn't contain a link to the minified js file.
Thanks
node.js - コマンド grunt filerev_apply を実行すると、このエラーが「undefined のプロパティ概要を読み取れません」になるのはなぜですか?
実行中またはうなり声を上げているときに、未定義の エラーのプロパティの概要を読み取れないのはなぜですか。そして、実行する
と、grunt.filerev.summaryが内部コマンドまたは外部コマンドとして認識されないことが示されます。grunt filerev_apply
filerev_replace
grunt.filerev.summary
Gruntfile.js