question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

versioning in 1.0.3

See original GitHub issue
  • Laravel Mix Version: 1.0.3 (npm list --depth=0)
  • Node Version (node -v): 8.1.2
  • NPM Version (npm -v): 5.0.3
  • OS:

Description:

When I use mix.version() after updating everything works fine but the npm run dev output doesn’t show that the files are being versioned in the output. When I check mix-manifest.json they are actually versioned correctly, so not sure why the npm output is not saying it anymore.

/js/adminPanel.js  1.37 MB       0  [emitted]  [big]  /js/adminPanel
/js/app.js  1.21 MB       1  [emitted]  [big]  /js/app
/css/app.css   185 kB       1  [emitted]         /js/app
/css/adminPanel.css   352 kB       1  [emitted]  [big]  /js/app

Steps To Reproduce:

Add mix.version() and do npm run dev

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
JeffreyWaycommented, Jun 22, 2017

I was mainly curious about what pushed the choice of query string versioning (for educational purpose).

It simplifies the codebase and the work Mix has to do drastically. It also makes the API easier for folks to use, for a variety of small reasons.

1reaction
ruchernchongcommented, Jun 22, 2017

@Tchanove Why are you using CDN? With Laravel-Mix and npm packages, there are literally no reasons to use CDN now.

And query strings are no longer appended to the filename of assets in v1.0+

Read more comments on GitHub >

github_iconTop Results From Across the Web

Versioning Conventions — asdf_standard 1.0.3 documentation
The ASDF standard includes three categories of versions, all of which may advance independently of one another.
Read more >
Semantic Versioning 1.0.0
A pre-release version number MAY be denoted by appending an arbitrary string immediately following the patch version and a dash. The string MUST...
Read more >
Software versioning - Wikipedia
Software versioning is the process of assigning either unique version names or unique version numbers to unique states of computer software.
Read more >
Use Semantic Versioning and Give Your Version Numbers ...
Semantic versioning supports labels and build metadata as an extension to the MAJOR.MINOR.PATCH format. Simply add a hyphen and identifier to ...
Read more >
Version Control Guidelines - NCCIH
Final documents undergoing revisions will be Version X.1 for the first version of the revisions. While the document is under review, subsequent draft...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found