Embeddable ParityBar (#4222) (#4287)

* Embeddable ParityBar

* Replacing storage with store

* Fixing  references.

* Addressing style issues

* Supporting parity background

Conflicts:
	js/src/views/ParityBar/parityBar.js
This commit is contained in:
Tomasz Drwięga
2017-01-24 20:19:05 +01:00
committed by Gav Wood
parent dcd9119452
commit 2b132c38d6
10 changed files with 243 additions and 54 deletions

View File

@@ -40,7 +40,8 @@ module.exports = {
context: path.join(__dirname, '../src'),
entry: Object.assign({}, Shared.dappsEntry, {
index: './index.js'
index: './index.js',
embed: './embed.js'
}),
output: {
// publicPath: '/',
@@ -173,6 +174,17 @@ module.exports = {
]
}),
new HtmlWebpackPlugin({
title: 'Parity Bar',
filename: 'embed.html',
template: './index.ejs',
favicon: FAVICON,
chunks: [
isProd ? null : 'commons',
'embed'
]
}),
new ScriptExtHtmlWebpackPlugin({
sync: [ 'commons', 'vendor.js' ],
defaultAttribute: 'defer'