loganfsmyth / babel-plugin-transform-decorators-legacy

A plugin for Babel 6 that (mostly) replicates the old decorator behavior from Babel 5
MIT License
817 stars 57 forks source link

Module parse failed: Unexpected character '@' (15:0) #88

Open shijianzhong opened 3 years ago

shijianzhong commented 3 years ago
ERROR in ./src/routes/emer/emerConf/drillScriptConf/drillConfMap.jsx 15:0 Module parse failed: Unexpected character '@' (15:0) 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 const gdkey = '97ffc8c1bbda4f474d921efa77087954';

@connect(state => ({ | user: state.login.user, | }))