Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concat only works with 'files' object #186

Open
paddelboot opened this issue May 9, 2018 · 1 comment
Open

Concat only works with 'files' object #186

paddelboot opened this issue May 9, 2018 · 1 comment

Comments

@paddelboot
Copy link

paddelboot commented May 9, 2018

This does not work for me (no output is happening, verbose says [no files]):

dist: {
			js: {
				src: [ 'public/src/scripts/js/interface/interface.js', 'public/src/scripts/js/google-maps.js' ],
				dest: 'public/dist/bundle.js'

			},
			css: {
				src: [ 'public/src/css/pci.css' ],
				dest: 'public/dist/bundle.css'
			}
		}

While this does:

dist: {
			files : {
				'public/dist/bundle.js' : [ 'public/src/scripts/js/interface/interface.js', 'public/src/scripts/js/google-maps.js' ],
				'public/dist/bundle.css' : [ 'public/src/css/pci.css']
			}
			
		}

grunt v1.0.2
npm 5.6.0
grunt-contrib-concat@1.0.1

@liebecampbellroberts
Copy link

liebecampbellroberts commented Aug 29, 2018

Cheers! Still works fine, but glad you posted this comment. Hopefully the author will update the documentation @paddelboot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants