krasimir / webpack-library-starter

Webpack based boilerplate for producing libraries (Input: ES6, Output: universal library)
MIT License
1.36k stars 290 forks source link

Doesn't support ...spread operator? #49

Closed kunokdev closed 6 years ago

kunokdev commented 6 years ago

Using smething like this within library:

const foo = {};

export default { ...foo };

throws:

Module parse failed: Unexpected token (8:17) You may need an appropriate loader to handle this file type. | exports.default = void 0; | var foo = {}; var _default = { ...foo

Any plans to update this repo to support modern syntax? Is this repo being maintained? I can post PR