Noteworthy Placebo Mongers

    webpack-blocks-purescript

    1.1.2 • Public • Published

    webpack-blocks-purescript

    A webpack-block for PureScript using purs-loader.

    JavaScript Style Guide NPM Version

    Installation

    yarn add --dev webpack-blocks-purescript

    or

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

    Usage

    import {createConfig, entryPoint, setOutput} from '@webpack-blocks/webpack2'
    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.

    Install

    npm i webpack-blocks-purescript

    DownloadsWeekly Downloads

    6

    Version

    1.1.2

    License

    MIT

    Last publish

    Collaborators

    • bkonkle
    • webyak
    • ecliptic-team