magicmonty / wintersmith-uglifyjs

Plugin for Wintersmith, which combines and compresses all configured js files into a single file
2 stars 0 forks source link

Error loading plugin #3

Open dietergeerts opened 10 years ago

dietergeerts commented 10 years ago

Hi, I got the following error from your plugin:

error Error loading plugin 'wintersmith-uglify2': Use CoffeeScript.register() or require the coffee-script/register module to require .coffee.md files.

I solved this by changing the following in index.js:

require('coffee-script');

to:

require('coffee-script/require');

I have no clue about what could be wrong, but you can please look into this and maybe update your code?