antd webpack 时提示的错误
来源:9-6 AntDesign样式框架使用
慕粉4324569
2017-09-11
Module build failed: ReferenceError: [BABEL] F:\360Downloads\share\share-manager\src\main\webapp\res\dev\login.js: Using removed Babel 5 option: F:\360Downloads\share\share-manager\.babelrc.stage - Check out the corresponding sta
ge-x presets http://babeljs.io/docs/plugins/#presets
at Logger.error (F:\360Downloads\share\share-manager\node_modules\babel-core\lib\transformation\file\logger.js:41:11)
at OptionManager.mergeOptions (F:\360Downloads\share\share-manager\node_modules\babel-core\lib\transformation\file\options\option-manager.js:220:20)
at OptionManager.init (F:\360Downloads\share\share-manager\node_modules\babel-core\lib\transformation\file\options\option-manager.js:368:12)
at File.initOptions (F:\360Downloads\share\share-manager\node_modules\babel-core\lib\transformation\file\index.js:212:65)
at new File (F:\360Downloads\share\share-manager\node_modules\babel-core\lib\transformation\file\index.js:135:24)
at Pipeline.transform (F:\360Downloads\share\share-manager\node_modules\babel-core\lib\transformation\pipeline.js:46:16)
at transpile (F:\360Downloads\share\share-manager\node_modules\babel-loader\lib\index.js:50:20)
at Object.module.exports (F:\360Downloads\share\share-manager\node_modules\babel-loader\lib\index.js:175:20)
2回答
-
Parry
2017-09-11
请问请提供下代码,你就这样贴一段我猜不出错误。
012017-09-11 -
慕粉4324569
提问者
2017-09-11
老师解决帮着解决一下哈哈
022017-09-13
相似问题