xrm-webpack-plugin

0.1.1 • Public • Published

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)]
};

Readme

Keywords

Package Sidebar

Install

npm i xrm-webpack-plugin

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • grimace1975