diff --git a/index.js b/index.js index 44227c5..d7ca43b 100644 --- a/index.js +++ b/index.js @@ -38,11 +38,13 @@ module.exports = function defineShipwrightHook(sails) { copy: [ { from: path.resolve(appPath, 'assets', 'images'), - to: path.resolve(appPath, '.tmp', 'public', 'images') + to: path.resolve(appPath, '.tmp', 'public', 'images'), + noErrorOnMissing: true }, { from: path.resolve(appPath, 'assets', 'fonts'), - to: path.resolve(appPath, '.tmp', 'public', 'fonts') + to: path.resolve(appPath, '.tmp', 'public', 'fonts'), + noErrorOnMissing: true }, { context: path.resolve(appPath, 'assets'), diff --git a/package.json b/package.json index 4ca2309..b40db46 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sails-hook-shipwright", - "version": "0.0.1", + "version": "0.0.2", "description": "The modern asset pipeline for Sails", "main": "index.js", "scripts": {