Closed 13333141732 closed 8 months ago
Module parse failed: Unexpected token (1157:8) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | }`; | class plot {
canvas; | currentDataset; | datasetCollection;
可能是你的webpack配置出错了,从报错来看像是没有添加js文件的loader
请问您这个问题解决了吗?我也遇到了这个报错
Module parse failed: Unexpected token (1157:8) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | }`; | class plot {