請(qǐng)問webpack4怎么打包第三方類庫?
用webpack4
比如,index.js?里import了好幾個(gè)第三方類庫,比如"jquery"、"vue"、"bootstrap",
現(xiàn)在我只想把"jquery"和"vue"打包到?vendors.js里,請(qǐng)問怎么設(shè)置?。?/p>
用webpack4
比如,index.js?里import了好幾個(gè)第三方類庫,比如"jquery"、"vue"、"bootstrap",
現(xiàn)在我只想把"jquery"和"vue"打包到?vendors.js里,請(qǐng)問怎么設(shè)置?。?/p>
2018-06-22
舉報(bào)
2019-05-31
2019-01-05
https://github.com/Evenyoo/vueInit
2018-06-22
找到解決方法了
https://github.com/shystruk/create-react-redux-app-structure/blob/master/webpack.config.js