gajus / write-file-webpack-plugin

Forces webpack-dev-server to write bundle files to the file system.
Other
527 stars 54 forks source link

plugin cause syntaxError with webpack-dev-server auto refresh #34

Closed yqrashawn closed 6 years ago

yqrashawn commented 7 years ago
__webpack_require__(36);
module.exports = __webpack_require__(37);
/***/ })        ------------>Uncaught SyntaxError: Unexpected end of input

Don't know why. When enable this plugin with webpack-dev-server auto-refresh feature, the file may broken in some case. For example insert new line.