Displaying 1 to 6 from 6 results

clean-webpack-plugin - A webpack plugin to remove your build folder(s) before building

  •    Javascript

This is a modified version of WebPack's Plugin documentation that includes the Clean Plugin.

babel-engine-plugin - Webpack plugin that transpiles dependencies targeting Node

  •    Javascript

Within your webpack configuration object, you'll need to add the babel-engine-plugin to the list of plugins.Module maintainers often only target Node.js and don't really care about browser support. Tools like Webpack allow you to easily bundle these modules and run them in the browser. But since Node.js 0.12 became deprecated, module maintainers started to leverage the new ES2016 features, for example fat-arrow functions. This becomes a problem because not all of these features are supported in the browser. Tools like UglifyJS doesn't like them either as it will fail with an Unexpected Token error.

node-env-webpack-plugin - Simplified `NODE_ENV` handling with webpack

  •    Javascript

Sets process.env.NODE_ENV in the Node.js process to development at import-time if it's not defined, or production if webpack is run with webpack -p.Sets process.env.NODE_ENV in the bundle to the same as in the Node.js process.

daemon-command-webpack-plugin - Run and restart npm commands after emit file webpack builds

  •    Javascript

Use cwd to specify the working directory from which the process is spawned. If not given, the default is to inherit the current working directory. Use env to specify environment variables that will be visible to the new process, the default is process.env.




nodemon-webpack-plugin - A webpack plugin that uses Nodemon to start and reload the server.

  •    Javascript

Uses Nodemon to watch and restart your module's output file, but only when webpack is in watch mode (ie, --watch). Saves the need for installing, configuring and running Nodemon as a seperate process.

generate-package-json-webpack-plugin - Generates a package

  •    Javascript

For limiting the dependencies inside package.json to only those that are actually being used by your code. This plugin is useful for when you have a large source project for development / testing from which smaller Node.js projects are bundled for various deployments and applications. Such as Google Cloud Functions.