Skip to content

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

License

Notifications You must be signed in to change notification settings

AkpoFlash/jsp-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, '/src/index.jsp'),
            filename: path.join(__dirname, '/dist/index.jsp'),
        })
    ]
};

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published