Closed
Description
Confirmed that something between 1.7.0 and 1.7.2 broke. Nothing in the webpack config changed.
Our usage:
plugins: [new ScriptExtHtmlWebpackPlugin({
defaultAttribute: 'defer'
})]
Resulting error output:
ERROR in TypeError: Cannot read property 'options' of undefined
- plugin.js:35 Compilation.compilation.plugin
[project-name/[script-ext-html-webpack-plugin]/lib/plugin.js:35:59
- Tapable.js:206
[project-name]/[tapable]/lib/Tapable.js:206:14
- index.js:30 Compilation.<anonymous>
[project-name]/[html-webpack-exclude-assets-plugin]/index.js:30:7
- Tapable.js:208 Compilation.applyPluginsAsyncWaterfall
[project-name]/[tapable]/lib/Tapable.js:208:13
- util.js:16 Compilation.tryCatcher
[project-name]/[bluebird]/js/release/util.js:16:23
- index.js:150
[project-name]/[html-webpack-plugin]/index.js:150:16
- util.js:16 tryCatcher
[project-name]/[bluebird]/js/release/util.js:16:23
- promise.js:512 Promise._settlePromiseFromHandler
[project-name]/[bluebird]/js/release/promise.js:512:31
- promise.js:569 Promise._settlePromise
[project-name]/[bluebird]/js/release/promise.js:569:18
- promise.js:614 Promise._settlePromise0
[project-name]/[bluebird]/js/release/promise.js:614:10
- promise.js:693 Promise._settlePromises
[project-name]/[bluebird]/js/release/promise.js:693:18
- async.js:133 Async._drainQueue
[project-name]/[bluebird]/js/release/async.js:133:16
- async.js:143 Async._drainQueues
[project-name]/[bluebird]/js/release/async.js:143:10
- async.js:17 Immediate.Async.drainQueues
[project-name]/[bluebird]/js/release/async.js:17:14
Metadata
Metadata
Assignees
Labels
No labels