JSPM

ngrock-webpack-plugin

0.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q21872F
  • License MIT

Ngrock for webpack

Package Exports

  • ngrock-webpack-plugin

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ngrock-webpack-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

#ngrock webpack plugin

Port ngrock to webpack-dev-server

Build Status

NPM

NPM

Install

npm install ngrock-webpack-plugin --save-dev

Basic Usage

1. Include plugin

var NgrockWebpackPlugin = require('ngrock-webpack-plugin')
var webpackConfig = {
    entry: 'index.js',
    output: {
        path: __dirname + '/dist',
        filename: 'index_bundle.js'
    },
    devServer: {
        hot: true,
        inline: true,
        headers: {'Access-Control-Allow-Origin': '*'},
        historyApiFallback: {
            index: 'http://localhost:8080/index.html'
        }
    },
    plugins: [new NgrockWebpackPlugin()]
}

webpack-dev-server --progress --port=8080 --hot --inline --config=webpack.config.js

LogMessage

Unit testing

...

License

MIT