webpack-visualizer-plugin
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -44,6 +44,4 @@ 'use strict'; | ||
var stats = compilation.getStats().toJson(); | ||
var nodes = (0, _buildHierarchy2['default'])(stats); | ||
var html = '<!doctype html>\n <title>Webpack Visualizer</title>\n <style>' + cssString + '</style>\n <div id="App"></div>\n <script>window.nodesData = ' + JSON.stringify((0, _buildHierarchy2['default'])(stats)) + ';</script>\n <script>' + jsString + '</script>\n '; | ||
var html = '<!doctype html>\n <title>Webpack Visualizer</title>\n <style>' + cssString + '</style>\n <div id="App"></div>\n <script>window.nodesData = JSON.parse(\'' + JSON.stringify(nodes) + '\');</script>\n <script>' + jsString + '</script>\n '; | ||
compilation.assets[_this.opts.filename] = { | ||
@@ -50,0 +48,0 @@ source: function source() { |
{ | ||
"name": "webpack-visualizer-plugin", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"main": "lib/plugin.js", | ||
@@ -5,0 +5,0 @@ "author": "Chris Bateman (http://cbateman.com/)", |
307217
1395