@rambler-tech/razzle-multi-entry

0.1.1 • Public • Published

Multi Entry Plugin

Support for multiple entries instead of one

Install

npm install -D @rambler-tech/razzle-multi-entry

or

yarn add -D @rambler-tech/razzle-multi-entry

Usage

Add the plugin to razzle.config.js

const path = require('path')
const MultiEntryPlugin = require('@rambler-tech/razzle-multi-entry')

module.exports = {
  plugins: [
    MultiEntryPlugin({
      mobile: path.resolve(__dirname, 'src/mobile/client'),
      desktop: path.resolve(__dirname, 'src/desktop/client')
    })
  ],
  modifyWebpackConfig({webpackConfig}) {
    // ...
    return webpackConfig
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @rambler-tech/razzle-multi-entry

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

3.31 kB

Total Files

5

Last publish

Collaborators

  • andrepolischuk
  • rambler-ui-bot