0.1.1 • Published 4 months ago

@rambler-tech/razzle-multi-entry v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

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
  }
}
0.1.1

4 months ago

0.1.0

7 months ago