-
Notifications
You must be signed in to change notification settings - Fork 82
Closed
Labels
Description
webpack imports the module file which uses ES6 features, in some circumstances, this can lead to the following problem when starting the build process: Unexpected token operator «=», expected punc «,» [./node_modules/vuex-map-fields/src/lib/array-to-object.js:1,0]
Temporary workaround: import the dist files explicitly
import { mapFields } from 'vuex-map-fields/dist';
// Instead of:
import { mapFields } from 'vuex-map-fields';