- Notifications
You must be signed in to change notification settings - Fork0
Checksum/esbuild-elm-loader
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
yarn add --dev https://github.com/Checksum/esbuild-elm-loader esbuild@0.8.7
The esbuildplugin API isn't supported via CLI yet, so use a custom build script like so:
constesbuild=require("esbuild");constelmLoader=require("esbuild-elm-loader");constprodBuild=process.env.NODE_ENV==="production";esbuild.build({entryPoints:["index.js"],outfile:"dist/bundle.js",bundle:true,minify:prodBuild,plugins:[elmLoader({debug:!prodBuild,optimize:prodBuild,}),],logLevel:"info",}).catch(()=>process.exit(1));
To build and run the example:
cd examplesnode build.jspython3 -m http.serveropen http://localhost:8000
About
Elm loader for esbuild
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published