diff --git a/index.js b/index.js new file mode 100644 index 00000000..8416124c --- /dev/null +++ b/index.js @@ -0,0 +1,17 @@ +import './tangy-form.js' +import './input/tangy-box.js' +import './input/tangy-input.js' +import './input/tangy-timed.js' +import './input/tangy-untimed-grid.js' +import './input/tangy-checkbox.js' +import './input/tangy-checkboxes.js' +import './input/tangy-checkboxes-dynamic.js' +import './input/tangy-radio-buttons.js' +import './input/tangy-select.js' +import './input/tangy-location.js' +import './input/tangy-gps.js' +import './input/tangy-acasi.js'; +import './input/tangy-eftouch.js'; +import './input/tangy-photo-capture.js'; +import './input/tangy-qr.js'; +import './input/tangy-consent.js'; diff --git a/package.json b/package.json index 3ce80c3f..73e7afb3 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "main": "tangy-form.js", "scripts": { "start": "polymer serve", + "build": "webpack", "test": "polymer test" }, "dependencies": { @@ -30,7 +31,9 @@ "@polymer/iron-demo-helpers": "^3.0.0-pre.19", "@webcomponents/webcomponentsjs": "^2.0.0", "polymer-cli": "^1.7.2", - "wct-browser-legacy": "^1.0.0" + "wct-browser-legacy": "^1.0.0", + "webpack": "^4.39.1", + "webpack-cli": "^3.3.6" }, "directories": { "test": "test" diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 00000000..988bf677 --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,9 @@ +const path = require('path'); + +module.exports = { + entry: './index.js', + output: { + path: path.resolve(__dirname, 'dist'), + filename: 'bundle.js' + } +};