html - grunt-include-replace adding a folder when it compiles -


i'm @ wits end trying figure out. have include replace pulling src folder , compiling dist folder. doing that, however, it's adding src folder dist folder , putting html file that. if pull root directory instead of src folder, works fine , puts html dist folder no folder. why adding path src folder create src folder inside dist folder , how stop doing that?

my code set this...

    distdir: 'dist',     srcdir: 'src',     includereplace: {         dist: {             options: {                 includesdir: '<%= srcdir %>/includes/'             },             src: '<%= srcdir %>/*.html',             dest: '<%= distdir %>'         }     } 

never mind. figured out. have this:

files: [     {         src: '*.html',         dest: '<%= distdir %>/',         expand: true,         cwd: '<%= srcdir %>/'     } ] 

Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -