add iframe to allow posting builds

This commit is contained in:
William Blythe
2018-11-05 11:51:50 +11:00
parent 97ce2828e0
commit 8e5dd9fb8d
5 changed files with 15 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ module.exports = {
}
},
plugins: [
new CopyWebpackPlugin(['src/.htaccess', { from: 'src/schemas', to: 'schemas' }, {from: 'src/images/logo/*', flatten: true, to: ''}]),
new CopyWebpackPlugin(['src/.htaccess', { from: 'src/schemas', to: 'schemas' }, {from: 'src/images/logo/*', flatten: true, to: ''}, 'src/iframe.html', 'src/xdLocalStoragePostMessageApi.min.js']),
// new webpack.optimize.CommonsChunkPlugin({
// name: 'lib',
// filename: 'lib.[chunkhash:6].js'