1.0.9 • Published 6 years ago

webpack-noodle-plugin v1.0.9

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

npm version

Webpack Noodle Plugin

This plugin allows you to run a shell command when a specfic file was changed at the end of the build process.

Installation

yarn add webpack-noodle-plugin -D

or

npm i webpack-noodle-plugin -D

Development

Go to webpack.config.js:

const webpackNoodlePlugin = require('webpack-noodle-plugin');

"plugins": [
    new webpackNoodlePlugin({
      filename: '<FILE-NAME>',
      command: '<SHELL-COMMAND>'
    })]

Options

  • filename: string: The name of the file to be watched. Example: myfile.ts.
  • filename can also be partial, like: .spec.ts.
  • command: The shell command that will run once this file was changed. Example: yarn process
1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago