From 3862c54108d20a7eb0415408fc08ba5833d56d06 Mon Sep 17 00:00:00 2001 From: jakehm Date: Tue, 6 Dec 2016 09:59:57 -0500 Subject: [PATCH] Changed main to point to src instead of dist This is the solution to webpack complaining about prebundled code. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c9e3cfd4..64b8a873 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "browserify-shim": { "leaflet": "global:L" }, - "main": "./dist/leaflet-routing-machine.js", + "main": "./src/leaflet-routing-machine.js", "devDependencies": { "browserify": "^13.1.1", "browserify-derequire": "^0.9.4",