Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Is there a basic HTML scripts bundle for VS code and none serve application?

Is there a basic HTML scripts bundle for VS code and none serve application?

Scheduled Pinned Locked Moved Web Development
asp-netcsharpjavascriptphpruby
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maze3
    wrote on last edited by
    #1

    I have the brilliant idea that I want to write a html/js/css webpage from scratch. My current issue is with bundling, or for development unbundled auto added files. Is there a way that on the HTML that the script tag for external .js files could be written once?

    Using VS Code with Live Preview extension. Are the "best" options going to be use node/php/aspnet? With asp.net applications I am familiar with and would love something similar like the bundling functionality. If in debug - then each file of the bundle is included as individual script links, allowing for debugging. Then switch to prod, and becomes 1 file. But the bundler also allows for wildcards, making any new files created added into the bundle.

    S L 2 Replies Last reply
    0
    • M maze3

      I have the brilliant idea that I want to write a html/js/css webpage from scratch. My current issue is with bundling, or for development unbundled auto added files. Is there a way that on the HTML that the script tag for external .js files could be written once?

      Using VS Code with Live Preview extension. Are the "best" options going to be use node/php/aspnet? With asp.net applications I am familiar with and would love something similar like the bundling functionality. If in debug - then each file of the bundle is included as individual script links, allowing for debugging. Then switch to prod, and becomes 1 file. But the bundler also allows for wildcards, making any new files created added into the bundle.

      S Offline
      S Offline
      Shmuel Zang
      wrote on last edited by
      #2

      What about bundling your external JavaScript files into one file, using a bundling tool (like webpack) and, write one script tag for the bundled file?

      1 Reply Last reply
      0
      • M maze3

        I have the brilliant idea that I want to write a html/js/css webpage from scratch. My current issue is with bundling, or for development unbundled auto added files. Is there a way that on the HTML that the script tag for external .js files could be written once?

        Using VS Code with Live Preview extension. Are the "best" options going to be use node/php/aspnet? With asp.net applications I am familiar with and would love something similar like the bundling functionality. If in debug - then each file of the bundle is included as individual script links, allowing for debugging. Then switch to prod, and becomes 1 file. But the bundler also allows for wildcards, making any new files created added into the bundle.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        You should read @Marc-Clifton's excellent article: Web Frameworks - A Solution Looking for a Problem?[^].

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups