DEV Community

Discussion on: Publish Your First NPM Package (Vue) - PART 1

Collapse
 
stwic profile image
Amir

Nicely written article, easy to follow. But, npm run build fails with ReferenceError: external is not defined. Does anyone know what could this be and if there is a simple solution for this? My money is on the broken rollup.config.js file.

Collapse
 
veed76 profile image
vishal

Hi I also get the same error, is there any solution?

Collapse
 
gauravrawat440 profile image
Gaurav Singh Rawat

did you find anything about the "external is not defined".