初始化的项目,然后加上require就报错。Uncaught TypeError: Cannot assign to read only property 'localStorage' of object '#'
已解决,需要转ES5
开启ES6转ES5后解决!
fixed in v2.0.1