@@ -36,7 +36,6 @@
"file-saver": "^2.0.2",
"gantt-elastic": "^1.0.11",
"gantt-elastic-header": "^0.1.11",
- "html2canvas": "^1.0.0-rc.3",
"js-cookie": "2.2.0",
"jspdf": "^1.5.3",
"less": "^2.7.3",
@@ -17,5 +17,6 @@
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
+ <script src="https://unpkg.com/html2canvas@1.0.0-rc.3/dist/html2canvas.js"></script>
</body>
</html>
@@ -39,6 +39,9 @@ module.exports = {
alias: {
'@': resolve('src')
}
+ },
+ externals: {
+ 'html2canvas': 'html2canvas'
},
chainWebpack(config) {