{"id":25791,"library":"joy-loader","title":"joy-loader","description":"A webpack loader for the Joy Go-to-JS transpiler, which converts Go code to JavaScript. Version 0.0.2 is an early release with no stable API. The loader integrates joy into webpack builds, but the project is in active development and not production-ready. It facilitates using Go code in webpack bundles, but lacks documentation, tests, and error handling. Compared to other transpilation loaders, it is experimental and niche.","status":"active","version":"0.0.2","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install joy-loader","lang":"bash","label":"npm"},{"cmd":"yarn add joy-loader","lang":"bash","label":"yarn"},{"cmd":"pnpm add joy-loader","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency for loader usage","package":"webpack","optional":false}],"imports":[{"note":"Loader is used via webpack config, not directly imported.","wrong":null,"symbol":"default","correct":"import loader from 'joy-loader'"}],"quickstart":{"code":"module.exports = {\n  module: {\n    rules: [\n      {\n        test: /\\.go$/,\n        use: 'joy-loader'\n      }\n    ]\n  }\n};","lang":"javascript","description":"This shows how to configure webpack to use joy-loader for .go files."},"warnings":[{"fix":"Pin to exact version and test updates","message":"API may change at any time due to pre-1.0 status","severity":"breaking","affected_versions":"0.x"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"npm install joy-loader --save-dev","cause":"Loader not installed in project","error":"Module not found: Error: Can't resolve 'joy-loader'"},{"fix":"Add test: /\\.go$/ to module.rules","cause":"Webpack config missing rule for .go","error":"Error: No matching loader for .go files"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}