vite-plugin-elm

A plugin for Vite enables you to compile an Elm application/document/element

OTHER License

Downloads
23.4K
Stars
198
Committers
17
vite-plugin-elm -

Published by hmsk over 2 years ago

  • Restructure the example Vite project
  • Support HMR in combined importing

https://github.com/hmsk/vite-plugin-elm/compare/v2.7.0-beta.1...v2.7.0-beta.2

vite-plugin-elm -

Published by hmsk over 2 years ago

  • Change hook compilations happens from transform to load
  • Add experimental compilation of multiple main files
  • Update devDependencies

https://github.com/hmsk/vite-plugin-elm/compare/v2.6.1...v2.7.0-beta.1

vite-plugin-elm -

Published by hmsk over 2 years ago

  • Ensure Elm compiler runs sequentially #204 Thanks @marc136 for your advice ✨
  • Ensure production build works with integration tests with Cypress
  • Update devDependencies

https://github.com/hmsk/vite-plugin-elm/compare/v2.6.0...v2.6.1

vite-plugin-elm - v2.6.0: First support of importing assets

Published by hmsk over 2 years ago

  • Update devDependencies
  • Support handling assets with Vite #178
    • A plain string [VITE_PLUGIN_ELM_ASSET:<path to asset>] on an Elm's end, will be replaced with an automatically imported asset data
  • Add new dependency to acron

https://github.com/hmsk/vite-plugin-elm/compare/v2.5.2...v2.6.0

vite-plugin-elm -

Published by hmsk over 2 years ago

vite-plugin-elm -

Published by hmsk over 2 years ago

vite-plugin-elm -

Published by hmsk over 2 years ago

  • Change the way to find asset's tags
    • Add dependencies for acorn, acorn-walk
  • Update devDependencies

https://github.com/hmsk/vite-plugin-elm/compare/v2.6.0-beta.2...v2.6.0-beta.3

vite-plugin-elm -

Published by hmsk over 2 years ago

  • Delete a way to import an asset with URL builder statically
  • Update a tag name to indicate asset's importing
  • Update devDependencies

https://github.com/hmsk/vite-plugin-elm/compare/v2.6.0-beta.1...v2.6.0-beta.2

vite-plugin-elm -

Published by hmsk over 2 years ago

  • Add a first step to import vite assets
    • We can now import assets with [ELM_VITE_PLUGIN_ASSET_PATH_DYNAMIC:path] or [ELM_VITE_PLUGIN_ASSET_PATH_STATIC:path experimentally

https://github.com/hmsk/vite-plugin-elm/compare/v2.5.2...v2.6.0-beta.1

vite-plugin-elm -

Published by hmsk over 2 years ago

  • Update dependencies
    • elm-esm
  • Update devDependencies

https://github.com/hmsk/vite-plugin-elm/compare/v2.5.1...v2.5.2

vite-plugin-elm -

Published by hmsk almost 3 years ago

  • Support NODE_ENV via Vite's mode Thanks! #121 @shanekenney
  • Update devDependencies

https://github.com/hmsk/vite-plugin-elm/compare/v2.5.0...v2.5.1

vite-plugin-elm -

Published by hmsk about 3 years ago

  • Support optimize option which configures regardless of debug option
    • #85 Thanks @wadouk for your contribution!
  • Update dev dependencies

https://github.com/hmsk/vite-plugin-elm/compare/v2.4.3...v2.5.0

vite-plugin-elm - Support vite 2.5

Published by hmsk about 3 years ago

https://github.com/hmsk/vite-plugin-elm/compare/v2.4.2...v2.4.3

vite-plugin-elm -

Published by hmsk over 3 years ago

Fix #41. Optimized build always crashes by having a different state structure from Debug build.

https://github.com/hmsk/vite-plugin-elm/compare/v2.4.1...v2.4.2

vite-plugin-elm -

Published by hmsk over 3 years ago

  • Update devDependencies
  • Fix unintentional missing of dependencies per compilation error #36

Thanks for your contribution @icidasset @marc136 ✨

https://github.com/hmsk/vite-plugin-elm/compare/v2.4.0...v2.4.1

vite-plugin-elm - Run refreshing per initial state's update

Published by hmsk over 3 years ago

https://user-images.githubusercontent.com/85887/122666476-4801a680-d162-11eb-95c3-bd14ffe8875a.mp4

Now, vite-plujgin-elm lets vite refreshes the entire page when detecting initial state's update. Originally, HMR really wasn't care about this since HMR is focused on keeping current state on a swapped new build.

https://github.com/hmsk/vite-plugin-elm/compare/v2.3.1...v2.4.0

vite-plugin-elm - Fix HMR for .elm files in the outside of vite project dir

Published by hmsk over 3 years ago

  • Support HMR with .elm files in the outside of vite project dir
  • Fix unintentional ignoring of HMR after gets compilation error happened once
  • Setup Prettier, ESLint, GitHub Actions, Dependabot

https://github.com/hmsk/vite-plugin-elm/compare/v2.3.0...v2.3.1

vite-plugin-elm - Support { debug: boolean } option

Published by hmsk over 3 years ago

  • Support { debug: boolean } to control debug mode forcibly #15
    • Thanks @andrewgryan ✨

https://github.com/hmsk/vite-plugin-elm/compare/v2.2.0...v2.3.0

vite-plugin-elm - Show friendly error

Published by hmsk over 3 years ago

  • Throw exceptions of compilation errors with expecting Vite catches and show friendly error overlays
    • Thanks for your contribution, @FranzSkuffka! #12

image

https://github.com/hmsk/vite-plugin-elm/compare/v2.1.3...v2.2.0

vite-plugin-elm -

Published by hmsk over 3 years ago

  • Fix HMR problem on Elm app which uses Ports
    • Thanks @mapmarkus for your PR! #10
  • Update devDependencies

https://github.com/hmsk/vite-plugin-elm/compare/v2.1.2...v2.1.3

Package Rankings
Top 3.11% on Npmjs.org
Top 9.55% on Proxy.golang.org
Badges
Extracted from project README
npm npm next channel GitHub Workflow Status
Related Projects