Build as a single file for use in a <script>?
See original GitHub issueHi, I’m working on 2m2d whose webserver is written in Rust, so I can’t use npm
for the frontend (It has to be static sites only). Is there a way to build this library as a single file so I can load it in a <script> tag?
Issue Analytics
- State:
- Created a year ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Create a single file for application deployment - .NET
Bundling all application-dependent files into a single binary provides an application developer with the attractive option to deploy and ...
Read more >Typescript compile to single file - javascript - Stack Overflow
Probably, the best option is to use a module bundler / build tool, like Webpack. Webpack will compile all your TypeScript files to...
Read more >Build Script Basics - Gradle User Manual
You run a Gradle build using the gradle command. The gradle command looks for a file called build.gradle in the current directory. ......
Read more >Build scripts - IBM
A build script is a file that is started by a build plan. The build script prepares output from generated files. The following...
Read more >Build Single File for Distribution · Issue #1452 - GitHub
I'm building a small app that will need to act as a library for a client. They will need to pull a single...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Clone it and run
npm run build
to generate the main.js bundle, then use it in a module script:Another option is to use the ESM CDN as shown here #31