Skip to content

Swordlash/haskell-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

haskell-loader

Webpack loader for .cabal projects. Allows you to specify a .cabal or .project file as an entry in Webpack projects.

Example:

{
  test: /\.(cabal|project)$/,
  use: 
    {
      loader: "@haskell-org/haskell-loader",
      options: {
        "install-ghc": "9.12.1",
        "install-cabal": "3.14.1.1",
        "system-tools": false, // don't use system tools since we're installing local ones
        "executable": "example"
      }
    }
},

You can follow an example setup here.

About

Webpack loader for .cabal projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published