Skip to content

UglifyJs error #11

@maoberlehner

Description

@maoberlehner

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';

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions