The Wayback Machine - https://web.archive.org/web/20200521081645/https://github.com/topics/easywebpack
Skip to content
#

easywebpack

Here are 14 public repositories matching this topic...

roguexiaohuihui
roguexiaohuihui commented Apr 13, 2020

想新增一个alias,像vue脚手架默认填写的:
resolve: {
alias: {
'vue$': 'vue/dist/vue.esm.js',
'@': resolve('src')
}
},

即将@指向到某一个目录,比如app/web/目录,我在webpack.config.js文件添加了

module.exports = {
egg: true,
devtool: 'eval',
target: 'web',
entry: {
admin: 'app/web/page/admin/index.js'
},
cssExtract: true,
dll: ['vue', 'vue-router', 'vuex',

easyjs 专注 Egg, 前端工程, 多端技术等领域,涉及 Egg Vue SSR 服务端渲染,Egg React SSR 服务端渲染, Webpack 前端工程化,Serverless, Flutter等技术学习和实践。期望通过工程体系方式来实现整个大前端工程体系的建设, 让前端开发效率能够得到显著提升!
  • Updated Dec 29, 2019

https://easyjs.cn - easyjs 专注 Egg, 前端工程, 多端技术等领域,涉及 Egg Vue SSR服务端渲染,Egg React SSR服务端渲染, Webpack 前端工程化,Serverless, Flutter等技术学习和实践。期望通过工程体系方式来实现整个大前端工程体系的建设, 让前端开发不再繁琐, 效率也能够得到显著提升!
  • Updated Dec 22, 2019
  • HTML

Improve this page

Add a description, image, and links to the easywebpack topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the easywebpack topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.