From 5f89c944cadac599d00ccab58eb0c552bb78141b Mon Sep 17 00:00:00 2001 From: Stephan Salat Date: Sat, 14 Mar 2015 18:41:29 +0100 Subject: [PATCH] Add webpack support Added webpack module support. --- index.js | 4 ++++ package.json | 1 + src/index.js | 2 ++ 3 files changed, 7 insertions(+) create mode 100644 index.js create mode 100644 src/index.js diff --git a/index.js b/index.js new file mode 100644 index 000000000..c9de241c8 --- /dev/null +++ b/index.js @@ -0,0 +1,4 @@ + +'use strict'; + +module.exports = require('./src'); diff --git a/package.json b/package.json index a0af493cc..5fc17b575 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "load-grunt-tasks": "~0.1.0", "time-grunt": "0.x.x" }, + "main": "index.js", "scripts": { "build": "npm install && grunt", "test": "grunt test" diff --git a/src/index.js b/src/index.js new file mode 100644 index 000000000..a9cb2845e --- /dev/null +++ b/src/index.js @@ -0,0 +1,2 @@ +exports.iframeResizer = require('./iframeResizer'); +exports.iframeResizerContentWindow = require('./iframeResizer.contentWindow');