Error when using source maps
jacwright opened this issue · comments
Jacob Wright commented
When setting optimize = true
and sourceMaps = true
I'm getting an error
./node_modules/brunch/lib/fs_utils/generate.js:199
json = optimizedMap.toJSON();
TypeError: Object {"vers.....MAAO,GAGX,MAAO"} has no method 'toJSON'
This is for the latest version: 1.7.6
Elan Shanker commented
It's fixed in master branch of brunch and this plugin (need to install both from master branch). Waiting for the rest of the changes slated for brunch 1.8 before publishing.
Jacob Wright commented
Thank you.