Closed pr1ntr closed 9 years ago
Ok.. well. I don't want to be a hard one or anything and feel free to tell me otherwise. But the only thing that works was this:
module.exports = { dist:{ options: { browsers:['last 2 versions'] }, files: { 'public/styles/site.css': 'public/styles/site.css' } } };
I get this is how Grunt typically handles stuff, but maybe you should update your readme.md because none of the arbitrary naming for files objects actually works. It confused the shit out of me because it contradicted typical grunt behavior.
Just my 2c.
Not sure where else to go on this. I know I must be doing something wrong
here is my task:
module.exports = { dist: { options: { browsers:['last 2 versions'] }, site: { src: 'public/styles/site.css' } } };
here is my css (output from sass):
.transformed-stuff { transform: translate3d(0px, 0px, 0px); user-select: none; transition: all .5s; }
Nothing is happening. here is output from console:
` /usr/local/bin/node /usr/local/lib/node_modules/grunt-cli/bin/grunt --gruntfile /Users/wildlife009/Projects/Wildlife.la/_DEV/wildlife-site/Gruntfile.js autoprefixer Running "autoprefixer:dist" (autoprefixer) task
Done, without errors.
Execution Time (2015-04-15 18:38:03 UTC) loading tasks 118ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 94% autoprefixer:dist 7ms ▇▇▇ 6% Total 126ms
Process finished with exit code 0 `
What am I missing?