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"