jsp-webpack-plugin

1.0.2 • Public • Published

Jsp WebPack Plugin

This plugin intends for generate *.jsp file (with injected your bundles and chunks)

Install

npm i --save-dev jsp-webpack-plugin

or

yarn add --dev jsp-webpack-plugin

Usage

webpack.config.js

const path = require('path');
const JspWebpackPlugin = require('jsp-webpack-plugin');

module.exports = {
    entry: path.resolve(__dirname, 'index.js'),
    output: {
        path: path.resolve(__dirname, '/dist'),
        filename: 'bundle.js'
    },
    plugins: [
        new JspWebpackPlugin({
            template: path.join(__dirname, '/index.jsp'),
        })
    ]
};

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    32
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    32
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i jsp-webpack-plugin

Weekly Downloads

28

Version

1.0.2

License

Apache-2.0

Unpacked Size

15.4 kB

Total Files

4

Last publish

Collaborators

  • akpoflash