entry-runner-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Webpack Plugin for running entry in another process

NPM Version Build Status Dependencies Test Coverage

Install

yarn add -D entry-runner-webpack-plugin
npm add --save-dev entry-runner-webpack-plugin

Usage

Javascript

const EntryRunnerWebpackPlugin = require('entry-runner-webpack-plugin');
const path = require('path');
 
const baseDir = path.resolve(__dirname);
 
const config = {
  plugins: [
    new EntryRunnerWebpackPlugin(path.resolve(__dirname), 'main.js')
  ]
};

TypeScript

import * as path from 'path';
import * as webpack from 'webpack';
import EntryRunnerWebpackPlugin from 'entry-runner-webpack-plugin';
 
const baseDir = path.resolve(__dirname);
 
const config: webpack.Configuration  = {
  plugins: [
    new EntryRunnerWebpackPlugin(path.resolve(__dirname), 'main.js')
  ]
};
 
export default config;

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i entry-runner-webpack-plugin

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

5.76 kB

Total Files

7

Last publish

Collaborators

  • theaifam5