I have a series of directories like...
component A
- t9n
- componentAT9n.json
component B
- t9n
- componentBT9N.json
Where each of these directories I need to duplicate the one file ending in t9n.json to _en.json ultimately ending up…
I have a problem with grunt. My Grunt version is:
grunt-cli v1.4.3
grunt v1.4.1
An Error occurs as I run any task.
Warning: Task "speak" not found. Use --force to continue.
This occurs with every function I run (for example grunt css or…
I'm new to grunt and for my project I'm using grunt-contrib-copy plugin.My folder structure is:
module.exports = function(grunt){
const sass = require('node-sass');
require('load-grunt-tasks')(grunt);
grunt.initConfig({
sass: {
…
Can you help me with this problem?
I'm trying to create a function in Gruntfile.js to copy template files to my project using a loop and .json file to "automate" a copy job, apparently the function looks great because Grunt runs the copy job…
I am writing grunt-contrib-copy task to copy from source to dest. But no files are copied. Even there are no errors. I am not able to understand what is happening.
copy:{
index: {
files: [
{
…
I have a directory structure like the following:
dist/
static/
static/keep1
static/keep2
static/versions/1
static/versions/2
static/versions/3
I want to copy everything from static into dist, with the exception of the versions directory. I want to…
After GruntJS generates my CSS+JS, I want it to copy the generated files to the appropriate places on the servers, and so I've set up different grunt-copy tasks to do so. The paths to copy to are different for the development and production…
I am using the "grunt-contrib-copy": "^1.0.0" and the copied binary files are getting damaged, Please look at my grunt configuration and help me on this.
copy: {
options: {
// exclude binary format from the processContent function
…
I am trying to copy HTML file from ROOT folder to DIST folder and that HTML will be minified. I've already achieved that so far.
Now, when the HTML files is being copied to DIST folder, I want to change the INCLUDE path within all included CSS and…
Using latest version of grunt if we try to work like copying
copy: {
main: {
files: [
{ expand: true
src: ['/dev/war archive/latestfile/**/*.txt'],
dest: '/fernando/backups/pbuse/war',
filter…
I am new to grunt.
I am copying the src folder to build by running the command grunt copy.
But I can't open all png images in the build folder(destination folder).
I got a fatal error while trying to open the image.
Errors:
"Could not…
I have a folder structure that i need to duplicate with custom names to start a project - I've looked at modifying grunt-contrib-copy with a custom function:
var gruntCopy = grunt.config.get('copy');
for (var item in gruntCopy) {
var files…
I'm working with grunt-contrib-copy. I have this file tree:
`-- src
`-- model
|-- a4
| `-- public
| |-- css
| |-- img
| `-- js
|-- posters
| `-- public
| …
I am decking out my own version of Yii2 advanced with Grunt to handle everything. From resetting Yii2 back to factory (removing -local.php, cleaning logs, assets, etc), using Gulp for asset handling, combining and minifying CSS and JS, with LESS,…
Background
I have a local set of files on my computer, under C:/websites/PROJECT. I would like to use Grunt to copy these files to a live server when I'm ready to push changes. I have access to the live server, which is self hosted. I can access it…