bencodezen / vue-enterprise-boilerplate

An ever-evolving, very opinionated architecture and dev environment for new Vue SPA projects using Vue CLI.
7.78k stars 1.32k forks source link

Spread operator not working during webpack parsing. #32

Closed rlightner closed 6 years ago

rlightner commented 6 years ago
Module parse failed: Unexpected token (33:49)
You may need an appropriate loader to handle this file type.
|
|   // Add the module to our modules object
|   modules[modulePath.pop()] = {namespaced: true, ...requireModule(fileName) }
|
|   // Recursively get the namespace of the module, even if nested