diff --git a/web/iframe.html b/web/iframe.html new file mode 100644 index 00000000..d7aa7dc5 --- /dev/null +++ b/web/iframe.html @@ -0,0 +1,12 @@ + + + + + + remark42 + + + +
+ + diff --git a/web/webpack.config.js b/web/webpack.config.js index c5d162cc..d1c0b6f8 100644 --- a/web/webpack.config.js +++ b/web/webpack.config.js @@ -4,6 +4,7 @@ const path = require('path'); const webpack = require('webpack'); const ExtractText = require('extract-text-webpack-plugin'); const Clean = require('clean-webpack-plugin'); +const Copy = require('copy-webpack-plugin'); const Html = require('html-webpack-plugin'); const Provide = webpack.ProvidePlugin; const Define = webpack.DefinePlugin; @@ -104,6 +105,7 @@ module.exports = { }), new webpack.optimize.ModuleConcatenationPlugin(), ...(env === 'production' ? [new webpack.optimize.UglifyJsPlugin()] : []), + ...(env === 'production' ? [new Copy(['./iframe.html'])] : []), ], watch: env === 'dev', watchOptions: {