1.0.5 • Published 5 years ago

@stellar-apps/webpack-rimraf-plugin v1.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@stellar-apps/webpack-rimraf-plugin

Does one thing and one thing only - rimraf's the output.path defined in your Webpack configuration. There are no, options, nothing special to know. I just didn't want to have to define the output path in multiple locations. Simple as that.

Installation

yarn add @stellar-apps/webpack-rimraf-plugin

Usage

const path = require('path')
const WebpackRimrafPlugin = require('@stellar-apps/webpack-rimraf-plugin')

module.exports = {
  output: {
    // this will get nuked before Webpack assets emit
    path: path.resolve(__dirname, 'dist/server')
  },
  plugins: [
    new WebpackRimrafPlugin()
  ]
}
1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago