This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.
When using System.import with webpack 2 and web-dev-server #188
Closed
Description
It happen when use webpack-dev-server with System.import in a bundle file and change a file. Then this error happens:
xxx/node_modules/extract-text-webpack-plugin/index.js:22
if(c.initial) return;
^
TypeError: Cannot read property 'initial' of undefined
at ExtractTextPlugin.<anonymous> (xxx/node_modules/extract-text-webpack-plugin/index.js:22:8)
at Array.forEach (native)
at ExtractTextPlugin.mergeNonInitialChunks (xxx/node_modules/extract-text-webpack-plugin/index.js:21:16)
at ExtractTextPlugin.<anonymous> (xxx/node_modules/extract-text-webpack-plugin/index.js:275:12)
at Array.forEach (native)
at ExtractTextPlugin.<anonymous> (xxx/node_modules/extract-text-webpack-plugin/index.js:273:21)
at xxx/node_modules/async/lib/async.js:52:16
at Object.async.forEachOf.async.eachOf (xxx/node_modules/async/lib/async.js:236:30)
Output chunk.chunks:
Chunk {
id: null,
ids: null,
debugId: 1013,
name: 'text',
modules: [],
chunks: [ undefined ],
parents: [],
blocks: [],
origins: [],
files: [],
rendered: false,
entry: true,
initial: true,
index: 0,
originalChunk:
...