webpack - HtmlWebPackPlugin is unable to resolve fields -
i've changed configuration files in order able use webpack@2.1.0-beta.27
. after having changed issues according migration between webpack@2.1.0-beta.22
, last 1 goes wrong according htmlwebpackplugin
:
plugins: [ new htmlwebpackplugin({ template: 'src/index.html', chunkssortmode: 'dependency' }) ]
after having performed webpack
command seems htmlwebpackplugin
unable resolve fields. index.html
file:
html webpack plugin: <pre> typeerror: cannot read property 'title' of undefined - index.html:77 d:/projects/living/user-platform/project/src/index.html:77:33 - index.html:94 module.exports d:/projects/living/user-platform/project/src/index.html:94:3 - index.js:255 [project]/[html-webpack-plugin]/index.js:255:16 - util.js:16 trycatcher [project]/[html-webpack-plugin]/[bluebird]/js/release/util.js:16:23 - promise.js:510 promise._settlepromisefromhandler [project]/[html-webpack-plugin]/[bluebird]/js/release/promise.js:510:31 - promise.js:567 promise._settlepromise [project]/[html-webpack-plugin]/[bluebird]/js/release/promise.js:567:18 - promise.js:604 promise._settlepromisectx [project]/[html-webpack-plugin]/[bluebird]/js/release/promise.js:604:10 - async.js:143 async._drainqueue [project]/[html-webpack-plugin]/[bluebird]/js/release/async.js:143:12 - async.js:148 async._drainqueues [project]/[html-webpack-plugin]/[bluebird]/js/release/async.js:148:10 - async.js:17 immediate.async.drainqueues [project]/[html-webpack-plugin]/[bluebird]/js/release/async.js:17:14 </pre>
Comments
Post a Comment