
Carlos Andrés Millan Satizabal
Preguntastudent•hace 8 años
Terminé el video de Consumir el API, y me sigue saliendo en el inspector: "Uncaught ReferenceError process is not defined"

Miguel Rivas
student•hace 8 años
buenas @sergiodxa
algo asi ?
plugins: [new webpack.DefinePlugin({ 'process.env': { NODE_ENV: JSON.stringify('production'), }, })]

Sergio Daniel Xalambrí
student•hace 8 años
En tu configuración de Webpack (ambas) agregá una propiedad
plugins
new webpack.DefinePlugin({ 'process.env': { NODE_ENV: JSON.stringify('production'), }, })