上面加上","user":{"id":"56fba40e0dd99810003777bc","type":"User","username":"mrlilili","name":"Aaron","location":"","website":"https://github.com/Mrlilili","verified":false,"locked":false,"site_admin":false,"urls":{"profile":"https:[email protected]","stars":"https:[email protected]/starred","avatar":"https://avatars0.githubusercontent.com/Mrlilili"},"permissions":{"edit":null,"admin":null},"dates":{"created":"2016-03-30T10:01:50.445Z"},"counts":{},"github":{"username":"Mrlilili"}},"subscribed":null,"body":"","comments":2,"state":"open","locked":false,"urls":{"details":"https://www.gitbook.com/book/zhaoda/webpack/discussions/2"},"dates":{"created":"2016-05-10T06:30:32.715Z"},"permissions":{"comment":false,"close":false,"open":false,"admin":false},"book":{"id":"zhaoda/webpack","status":"updating_failed","name":"webpack","title":"Webpack 中文指南","description":"http://zhaoda.net/webpack-handbook","public":true,"template":"base","topics":["webpack","javascript"],"license":"cc-by-nc-4_0","language":"zh","locked":false,"cover":{"large":"/cover/book/zhaoda/webpack.jpg?build=1474305092849","small":"/cover/book/zhaoda/webpack.jpg?build=1474305092849&size=small"},"urls":{"git":"https://git.gitbook.com/zhaoda/webpack.git","access":"https://www.gitbook.com/book/zhaoda/webpack","homepage":"https://zhaoda.gitbooks.io/webpack/","read":"https://www.gitbook.com/read/book/zhaoda/webpack","edit":"https://www.gitbook.com/book/zhaoda/webpack/edit","content":"https://zhaoda.gitbooks.io/webpack/content/","download":{"epub":"https://www.gitbook.com/download/epub/book/zhaoda/webpack","mobi":"https://www.gitbook.com/download/mobi/book/zhaoda/webpack","pdf":"https://www.gitbook.com/download/pdf/book/zhaoda/webpack"}},"counts":{"stars":411,"subscriptions":60,"updates":22,"discussions":2},"dates":{"build":"2016-09-19T17:11:32.849Z","failed":"2017-02-21T08:38:34.770Z","created":"2015-12-07T05:27:14.859Z"},"permissions":{"edit":false,"admin":false,"important":false},"publish":{"defaultBranch":null,"builder":null},"author":{"id":"562f0e786018d7100052093a","type":"User","username":"zhaoda","name":"赵达","location":"Beijing, China","website":"https://github.com/zhaoda","bio":"","verified":true,"locked":false,"site_admin":false,"urls":{"profile":"https:[email protected]","stars":"https:[email protected]/starred","avatar":"https://avatars0.githubusercontent.com/zhaoda"},"permissions":{},"dates":{"created":"2015-10-27T05:41:12.746Z"},"counts":{},"github":{"username":"zhaoda"}}},"context":{"chapterTitle":"开发环境","filename":"development.md","section":"当然,使用 webpack-dev-server 开发服务是一个更好的选择。它将在 localhost:8080 启动一个 express 静态资源 web 服务器,并且会以监听模式自动运行 webpack,在浏览器打开 http://localhost:8080/ 或 http://localhost:8080/webpack-dev-server/ 可以浏览项目中的页面和编译后的资源输出,并且通过一个 socket.io 服务实时监听它们的变化并自动刷新页面。","urls":{"content":"https://zhaoda.gitbooks.io/webpack/content/development.html","edit":"/book/zhaoda/webpack/edit#/edit/master/development.md"}}},{"type":"Discussion","number":1,"title":"不行哦,改了之后执行下面的代码就报错。","user":{"id":"56fba40e0dd99810003777bc","type":"User","username":"mrlilili","name":"Aaron","location":"","website":"https://github.com/Mrlilili","verified":false,"locked":false,"site_admin":false,"urls":{"profile":"https:[email protected]","stars":"https:[email protected]/starred","avatar":"https://avatars0.githubusercontent.com/Mrlilili"},"permissions":{"edit":null,"admin":null},"dates":{"created":"2016-03-30T10:01:50.445Z"},"counts":{},"github":{"username":"Mrlilili"}},"subscribed":null,"body":"","comments":5,"state":"open","locked":false,"urls":{"details":"https://www.gitbook.com/book/zhaoda/webpack/discussions/1"},"dates":{"created":"2016-05-10T03:11:31.182Z"},"permissions":{"comment":false,"close":false,"open":false,"admin":false},"book":{"id":"zhaoda/webpack","status":"updating_failed","name":"webpack","title":"Webpack 中文指南","description":"http://zhaoda.net/webpack-handbook","public":true,"template":"base","topics":["webpack","javascript"],"license":"cc-by-nc-4_0","language":"zh","locked":false,"cover":{"large":"/cover/book/zhaoda/webpack.jpg?build=1474305092849","small":"/cover/book/zhaoda/webpack.jpg?build=1474305092849&size=small"},"urls":{"git":"https://git.gitbook.com/zhaoda/webpack.git","access":"https://www.gitbook.com/book/zhaoda/webpack","homepage":"https://zhaoda.gitbooks.io/webpack/","read":"https://www.gitbook.com/read/book/zhaoda/webpack","edit":"https://www.gitbook.com/book/zhaoda/webpack/edit","content":"https://zhaoda.gitbooks.io/webpack/content/","download":{"epub":"https://www.gitbook.com/download/epub/book/zhaoda/webpack","mobi":"https://www.gitbook.com/download/mobi/book/zhaoda/webpack","pdf":"https://www.gitbook.com/download/pdf/book/zhaoda/webpack"}},"counts":{"stars":411,"subscriptions":60,"updates":22,"discussions":2},"dates":{"build":"2016-09-19T17:11:32.849Z","failed":"2017-02-21T08:38:34.770Z","created":"2015-12-07T05:27:14.859Z"},"permissions":{"edit":false,"admin":false,"important":false},"publish":{"defaultBranch":null,"builder":null},"author":{"id":"562f0e786018d7100052093a","type":"User","username":"zhaoda","name":"赵达","location":"Beijing, China","website":"https://github.com/zhaoda","bio":"","verified":true,"locked":false,"site_admin":false,"urls":{"profile":"https:[email protected]","stars":"https:[email protected]/starred","avatar":"https://avatars0.githubusercontent.com/zhaoda"},"permissions":{},"dates":{"created":"2015-10-27T05:41:12.746Z"},"counts":{},"github":{"username":"zhaoda"}}},"context":{"chapterTitle":"Loader","filename":"loader.md","section":"将 entry.js 中的 require(\"!style!css!./style.css\") 修改为 require(\"./style.css\") ,然后执行:","urls":{"content":"https://zhaoda.gitbooks.io/webpack/content/loader.html","edit":"/book/zhaoda/webpack/edit#/edit/master/loader.md"}}}],"total":2,"limit":15,"page":0,"pages":1},"state":"open","countClosed":0,"countOpen":2,"config":{"version":"19.1.3","hasBlog":true,"isEnterprise":false,"apiHost":"https://api.gitbook.com","mainHost":"https://www.gitbook.com","stripePublicKey":"pk_live_iPkbPsG28bjTrkbfHXUq0cA0","gaToken":"UA-57505611-6","mixpanelToken":"aa7ba0807002f1cbd33391bdd14d5ad9","github":{"integrationUrl":"https://github.com/integrations/gitbook/installations/new"}},"req":{"date":"2017-02-23T09:16:59.936Z","csrfToken":"DlDhsPAb-bsFWJLd3p2P0Y-5XC8J_TfiWhkA","query":{},"url":"/book/zhaoda/webpack/discussions","duration":109}} }),document.getElementById("application"));})();