GithubHelp home page GithubHelp logo

testmpa's Introduction

This project is a part of the question posted on StackOverflow, please have a look at full question here: https://stackoverflow.com/questions/78192074/combination-of-latest-versions-of-vite-vue-vitejs-plugin-vue-and-vite-plugin

Steps to reproduce:

  • choose correct package.json & package-lock.json ( see below )
  • run npm install
  • run npm run build
  • see dist/homepage.html homepage.html does not include built asset URLs in new package-json files, but working correctly with old ones.

Explaination:

The old package.json, which I was using before, was building the homepage.html correctly. ( including asset URLs )

You can have a look at old package.json & package-lock.json and try it by using these 2 files:

  • package-json-versions/old_but_working_package-lock.json
  • package-json-versions/old_but_working_package.json

but the packages had vulnerabilities as checked with npm audit. So I must have to update them. Which lead me to new package.json & packate-lock.json, which are currently in the root of the project, but also here:

  • package-json-versions/new_but_faulty_package-lock.json
  • package-json-versions/new_but_faulty_package.json

Hints

From the discussion here: emosheeep/vite-plugin-virtual-mpa#68

Now there is a working package.json & package-lock.json which are still using old versions of packages, but have no vulnerability shown in npm audit. ( changes: vite version is changed from 5.0.10 to 5.0.13 )

  • package-json-versions/old_v2_but_working_package-lock.json
  • package-json-versions/old_v2_but_working_package.json

testmpa's People

Contributors

rawalshivam29 avatar shivamrawal19 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.