Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with fuctions in code.js build(npm run deploy or build) #30

Closed
marloncepeda opened this issue Apr 8, 2020 · 1 comment
Closed

Comments

@marloncepeda
Copy link

hello I have this problem when I generate the files to create npm run deploy, please help me :(

function onOpen() { } function openDialog() { }

function not have data :( with build

@enuchi
Copy link
Owner

enuchi commented Apr 8, 2020

webpack generates the bundles as empty code, but defines them below in the text. Your bundle should look like this:

function onOpen() {

Compare with code below in that file:

var onOpen = function() {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants