add iframe.html
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>remark42</title>
|
||||
<script type="text/javascript" src="/remark.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="remark42"></div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user