1.1.2 • Published 3 years ago

express-webpack-plugin v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Express.js Webpack Plugin

Hot reload for your webpack-bundled express application

How To Use It

  • install the package using npm / yarn
yarn add -D express-webpack-plugin
npm install -D express-webpack-plugin
  • create an instance of the plugin in your webpack configuration and add it to the plugins array

    const ExpressWebpackPlugin = require('express-webpack-plugin');

    // ...

    module.exports = {

        // ...

        plugins: [ new ExpressWebpackPlugin() ],

        // ...
    }
  • specify filename and path in the output object
    // ...

    module.exports = {

        // ...

        output: {
            // ...

            filename: 'index.js',
            path: "/path/to/build/folder"

            // ...
        },

        // ...
    }
1.1.1

3 years ago

1.1.0

3 years ago

1.1.2

3 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago