Skip to content

goog is not defined #3

@jorgedavila25

Description

@jorgedavila25

Hi Toru,

I'm basing our closure webpack project from your example (thank you, btw). I'm currently running into an issue where everything works fine when mode is set to NONE, but breaks when I set it to STANDARD. I get the following error:

Uncaught ReferenceError: goog is not defined
at Object.<anonymous> (app.js:2742)
at __webpack_require__ 

Any idea of what it might be? My webpack config is extremely light. The only thing I changed from your package.json example was the build:webpack script from "webpack -p --env production" to "./node_modules/.bin/webpack --env=production"

Any help would be awesome!! Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions