Commit 4af4cc3e authored by 张恒's avatar 张恒

解决引入axios后打包报错问题

parent 3a46442a
......@@ -36,7 +36,7 @@ module.exports = {
{
test: /\.(js|mjs)$/,
loader: 'babel-loader',
include: [resolve('src'), resolve('test'),resolve('/node_modules/js-base64')]
include: [resolve('src'), resolve('test'),resolve('/node_modules/js-base64'),resolve('/node_modules/axios')]
},
{
test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment