1.0.2 • Published 5 years ago

jsp-webpack-plugin v1.0.2

Weekly downloads
8
License
Apache-2.0
Repository
github
Last release
5 years ago

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

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago