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

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -