This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const webpack = require('webpack'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
// Used to replace vendor imports with empty string | |
const ConstDependency = require('webpack/lib/dependencies/ConstDependency'); | |
function hashString(str) { | |
var hash = 0, | |
i, | |
chr; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const webpack = require('webpack'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
// Used to replace vendor imports with empty string | |
const ConstDependency = require('webpack/lib/dependencies/ConstDependency'); | |
function hashString(str) { | |
var hash = 0, | |
i, | |
chr; |