From a781150c2725af651d7e52614c1d6029951412ef Mon Sep 17 00:00:00 2001 From: Mark Beukers Date: Mon, 7 Nov 2016 22:00:58 +0800 Subject: [PATCH] sprite path change, fix gitignore, version bump --- generators/app/{ => templates}/.gitignore | 3 +-- generators/app/templates/webpack.config.js | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) rename generators/app/{ => templates}/.gitignore (82%) diff --git a/generators/app/.gitignore b/generators/app/templates/.gitignore similarity index 82% rename from generators/app/.gitignore rename to generators/app/templates/.gitignore index c366b62..7e0e48f 100644 --- a/generators/app/.gitignore +++ b/generators/app/templates/.gitignore @@ -9,5 +9,4 @@ coverage # Compiled Files src/img/sprite.png src/img/sprite@2x.png -src/sass/sprite.scss -assets/ \ No newline at end of file +src/sass/settings/sprite.scss \ No newline at end of file diff --git a/generators/app/templates/webpack.config.js b/generators/app/templates/webpack.config.js index a28f553..e8c69c3 100644 --- a/generators/app/templates/webpack.config.js +++ b/generators/app/templates/webpack.config.js @@ -36,9 +36,9 @@ module.exports = { src: { cwd: path.resolve(__dirname, 'src/sprites'), glob: '*.png' }, target: { image: path.resolve(__dirname, 'src/img/sprite.png'), - css: path.resolve(__dirname, 'src/sass/settings/sprite.scss') + css: path.resolve(__dirname, 'src/sass/settings/_sprite.scss') }, - apiOptions: { cssImageRef: "~sprite.png" }, + apiOptions: { cssImageRef: "../img/sprite.png" }, retina: '@2x' }) ] diff --git a/package.json b/package.json index 9ba3ddb..1a90fce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "generator-feather", - "version": "0.3.1", + "version": "0.3.2", "description": "A generator for sitefinity-feather builds", "repository": "https://github.com/isobaraustralia/generator-feather.git", "keywords": [