weapp-adapter源码修改后用webpack打包不了
发布于 7 年前 作者 yongxiao 13923 次浏览 来自 问答

ERROR in ./src/window.js

Module parse failed: Unexpected token (3:7)

You may need an appropriate loader to handle this file type.

| import Canvas from './Canvas'

| 

| export document from './document'

| export navigator from './navigator'

| export XMLHttpRequest from './XMLHttpRequest'

 @ ./src/index.js 1:0-35 7:2-26 8:4-20 10:2-29 11:4-20 14:6-20 15:4-18 15:38-62 16:4-18 16:41-68 23:22-29 28:17-24 33:22-38 38:17-33 44:22-29 45:20-27 47:20-27

回到顶部