Skip to content

ecliptic/webpack-blocks-purescript

Repository files navigation

webpack-blocks-purescript

A webpack-block for PureScript using purs-loader.

NPM Version CircleCI JavaScript Style Guide

Version compatibility:

  • webpack-blocks v0.x -> webpack-blocks-purescript v1.x (@latest)
  • webpack-blocks v1.x -> webpack-blocks-purescript v2.x (@next)

Installation

yarn add --dev webpack-blocks-purescript

or

npm install --save-dev webpack-blocks-purescript

Usage

import {createConfig, entryPoint, setOutput} from '@webpack-blocks/webpack'
import babel from '@webpack-blocks/babel6'
import purescript from 'webpack-block-purescript'

export default createConfig([
  entryPoint(['babel-polyfill', './src/Main.js']),
  setOutput('./build/bundle.js'),
  babel(),
  purescript(),
])

Options

See the options list here.

Defaults:

  • psc: 'psa'
  • src: ['bower_components/purescript-*/src/**/*.purs', 'src/**/*.purs']
  • warnings: false

License

This project is licensed under MIT.

About

A webpack-block for PureScript using purs-loader

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy