課程
/前端開發(fā)
/前端工具
/webpack深入與實戰(zhàn)
css-loader也編譯到hello.bundle.js了
2017-03-24
源自:webpack深入與實戰(zhàn) 1-2
正在回答
require('css-loader!./style.css') 把前面那個!去掉也一樣的,我試過的
require('style-loader!css-loader!./style.css')?
qq_XX_19
舉報
webpack實戰(zhàn)教程,用真實項目帶你探索 webpack 強大的功能
2 回答運行webpack hello.js hello.bundle.js --module-bind 'css=style-loader!css-loader'
4 回答運行webpack hello.js hello.bundle.js --module-bind 'css=style-loader!css-loader ' 仍然出錯。
2 回答運行 webpack hello.js hello.bundle.js --module-bind "css=style-loader!css-loader" 出現(xiàn)下面錯誤,有同學(xué)知道嗎?
3 回答我使用webpack hello.js hello.bundle.js --module-bind 'css=style-loader!css-loader'命令會報錯
1 回答webpack2.x里面還能require('css-loader!./style.css')這么引用嗎
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2017-03-25
require('css-loader!./style.css') 把前面那個!去掉也一樣的,我試過的
2017-03-24
require('style-loader!css-loader!./style.css')?