From dd1df2ed2f1c465d3ce440797162777c05bca457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Gonz=C3=A1lez?= Date: Fri, 17 Feb 2017 14:15:51 +0100 Subject: [PATCH] enforce paths maybe? --- gulpfile.js | 4 ++++ package.json | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index e2ba083..4e96f5c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -23,6 +23,10 @@ const webpackConfig = { } ] }, + resolve: { + modulesDirectories: ['node_modules', 'bower_components'], + extensions: ['', '.js', '.jsx'] + }, plugins: [ new webpack.webpack.ProvidePlugin({ Promise: 'es6-promise-promise' diff --git a/package.json b/package.json index e8bec0c..d51648f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "constellation-canvas", "description": "draws cute animated canvas constellations", - "version": "1.4.2", + "version": "1.4.3", "author": "Laura mayhem", "bugs": { "url": "https://github.com/walaura/constellation/issues", @@ -41,7 +41,7 @@ "javascript" ], "license": "GPL-3.0", - "main": "src/app.js", + "main": "./src/app.js", "repository": { "type": "git", "url": "https://github.com/walaura/constellation"