0.1.1 • Published 8 years ago

xrm-webpack-plugin v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

xrm-webpack-plugin v0.1.0

Webpack plugin to continuously scaffold an xrm platform

Getting Started

This is a webpack plugin that scaffolds an xrm platform to serve your webpack bundles.

Maintainer: Sky Morey @smorey2

Installation

Install the plugin with npm:

$ npm install html-webpack-plugin --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

Basic Usage

The plugin will generate an xrm platform for you. Just add the plugin to your webpack config as follows:

var XrmWebpackPlugin = require('xrm-webpack-plugin');

var paths = {
  dest: {
    css: 'css',
    js: 'js',
    database: 'Databases',
  }
};

var webpackConfig = {
  entry: 'index.js',
  output: {
    path: 'dist',
    filename: 'index_bundle.js'
  },
  plugins: [new XrmWebpackPlugin(paths)]
};