Webpack build error using default vue-cli project build tools
See original GitHub issueRunning the dev server works fine but when i run build:
cross-env NODE_ENV=production webpack --progress --hide-modules
i get this error:
ERROR in build.js from UglifyJs
Unexpected token punc «(», expected punc «:» [./~/vue-multiselect/src/mixins/multiselectMixin.js:19,0]
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Building generated project failed due to vue-cli-service ...
I created a new Vue project using the vue create command. I managed to build it properly on my MacOS platform, but on...
Read more >Vue.js Build not working with npm run build - Stack Overflow
First create vue.config.js file in project root directory and define base url in it using below code module.exports = { baseUrl: process.env.
Read more >Build Tools - Vue Community
Vue CLI is a sophisticated mix of tools for building modern Vue.js ... It offers a quick and interactive project scaffolding with custom...
Read more >A comparison of Vue.js build tools - LogRocket Blog
In this article, I will be doing a comparison of scaffolding build tools available in the Vue.js ecosystem for efficiently building projects ......
Read more >Working with Webpack | Vue CLI
For new projects, it is now recommended to use create-vue to scaffold ... The easiest way to tweak the webpack config is providing...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hparton Released!
@HParton Hey! I refactored the way one can import the component (now a bundled umd module), so none of those errors should happen.
I will try to release it as 0.2.0 today evening. Additionally, you can now import mixins like
import { multiselectMixin } from 'vue-multiselect'
.