1 Star 3 Fork 0

Leo / tiny-import

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
webpack.config.js 383 Bytes
一键复制 编辑 原始数据 按行查看 历史
leo 提交于 2019-12-11 10:50 . first commit
const path = require('path')
module.exports = {
entry: './src/index.js',
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'tiny-import.js',
// library: 'tiny-import',
libraryTarget: 'amd',
},
module: {
rules: [
{
// js
test: /\.js$/,
exclude: /node_modules/,
loader: 'babel-loader',
},
],
},
}
1
https://gitee.com/aim-leo/tiny-import.git
git@gitee.com:aim-leo/tiny-import.git
aim-leo
tiny-import
tiny-import
master

搜索帮助