Kevin Peters
Oct 15, 2017 · 1 min read

You forgot a comment after the filename value

// poi.config.js
module.exports = {
entry: './MyComponent.vue',
filename: {
js: 'MyComponent.js'
}
sourceMap: false,
html: false,
format: 'cjs'
}

Should be

// poi.config.js
module.exports = {
entry: './MyComponent.vue',
filename: {
js: 'MyComponent.js'
},
sourceMap: false,
html: false,
format: 'cjs'
}
    Kevin Peters

    Written by

    Full-Stack Developer @klarna with a passion for React, Vue.js, JavaScript and .NET Core, also doing Python/Django development. https://www.kevinpeters.net/