11 Star 64 Fork 12

theajack / easy-icon

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
webpack.config.js 618 Bytes
一键复制 编辑 原始数据 按行查看 历史
const path = require('path');
module.exports = {
mode: 'development',
entry: path.resolve('./', 'test/index.js'),
output: {
path: path.resolve('./', 'test'),
filename: 'bundle.js'
},
devtool: 'eval-source-map',
devServer: {
contentBase: path.resolve('./', 'test'),
historyApiFallback: true,
inline: true,
host: 'localhost',
disableHostCheck: true,
proxy: {
},
},
module: {
rules: [{
test: /(.js)$/,
use: [{
loader: 'babel-loader',
}]
}]
},
};
JavaScript
1
https://gitee.com/theajack/easy-icon.git
git@gitee.com:theajack/easy-icon.git
theajack
easy-icon
easy-icon
master

搜索帮助