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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -