我将babel-preset-es2015
添加到package.json,将"presets": ["es2015"]
添加到.babelrc
。当我部署到azure时,我得到:
ERROR in ./ClientApp/boot-client.js
Module build failed: Error: Couldn't find preset "es2015" relative to directory "D:\\home\\site\\repository"
该应用在本地运作。如何修复azure部署?