farst-cache
Version:
精简的前端缓存工具,防止内存泄露
28 lines (25 loc) • 503 B
JavaScript
/**
* @Author: 强峰 <qiangf>
* @Date: 2018-06-15 15:05
* @Email: fengqiang@iflyek.com
* @Last modified by: qiangf
* @Last modified time: 2018-06-15 15:21
*/
const path = require('path')
module.exports = {
entry: './src/index.js',
output: {
path: path.resolve(__dirname, 'release'),
filename: './bundel.js'
},
mode: 'production',
module: {
rules: [
{
test: /\.js?$/,
exclude: /(node_modules)/,
loader: 'babel-loader'
}
]
}
}