Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
aovcharov-influencerdb committed Mar 6, 2019
1 parent 9fe63c6 commit adfed78
Show file tree
Hide file tree
Showing 3 changed files with 10,277 additions and 7 deletions.
10,276 changes: 10,275 additions & 1 deletion data/index.html

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src-js/webpack.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ module.exports = {
chunkFilename: '[contenthash].css',
}),
new HtmlWebpackPlugin({
inlineSource: '.(js|css)$' // embed all javascript and css inline
template: './src-js/index.html',
inlineSource: '.(js|css)$' // embed all javascript and css inline
}),
new HtmlWebpackInlineSourcePlugin()
],
Expand Down
5 changes: 0 additions & 5 deletions src-js/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ const path = require('path');
const webpack = require('webpack');
const merge = require('webpack-merge');

const HtmlWebpackPlugin = require('html-webpack-plugin');

const baseWebpackConfig = require('./webpack.base');

module.exports = merge(baseWebpackConfig, {
Expand All @@ -17,9 +15,6 @@ module.exports = merge(baseWebpackConfig, {
historyApiFallback: true,
},
plugins: [
new HtmlWebpackPlugin({
template: './src-js/index.html',
}),
new webpack.HotModuleReplacementPlugin(),
new webpack.NamedModulesPlugin(),
new webpack.DefinePlugin({}),
Expand Down

0 comments on commit adfed78

Please sign in to comment.