Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Javascript does not bundle #132

Open
MitchWilkins opened this issue May 27, 2017 · 1 comment
Open

Javascript does not bundle #132

MitchWilkins opened this issue May 27, 2017 · 1 comment

Comments

@MitchWilkins
Copy link

MitchWilkins commented May 27, 2017

Using the built in Asset Bundle method, my Javascript files will not bundle properly. I also tried it with the example files and got the same result. I am running Windows 10.

@maniqui
Copy link

maniqui commented Sep 11, 2017

What I did was to open the package.json file on node_modules/punch/, edit the dependencies to match exactly the version number Punch was build for.
For example, I changed:

"uglify-js": ">= 2.2.3"

To:

"uglify-js": "2.2.3"

And so on for every dependency. In other words, I "pinned" the dependencies.
Then, I run:

npm install and that's all. JS bundling started working again.

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

No branches or pull requests

2 participants