1、什么是webpack?
webpack是模块打包工具;
2、commjs 规范引入
moudle.exports= A;
var A = require ('../..xx.js);
3、es moudle 模块引入
export default A ;import A from '../xx.js'
1、什么是webpack?
webpack是模块打包工具;
2、commjs 规范引入
moudle.exports= A;
var A = require ('../..xx.js);
3、es moudle 模块引入
export default A ;import A from '../xx.js'