Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Webpack Plugin for running entry in another process.

License

Notifications You must be signed in to change notification settings

TheAifam5/entry-runner-webpack-plugin

Repository files navigation

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

About

Webpack Plugin for running entry in another process.

Resources

License

Stars

Watchers

Forks

Packages

No packages published