Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
| const path = require('path'); | |
| class DependencyGraphPlugin { | |
| apply(compiler) { | |
| compiler.hooks.emit.tap("DependencyGraphPlugin", (compilation) => { | |
| let deps = []; | |
| compilation.modules.forEach(m => { | |
| // console.log(m) | |
| const file = path.relative('', m.resource) |