Skip to content

Latest commit

 

History

History
 
 

arc-webpack

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

arc-webpack

ebay open source MIT licensed travisci build Codecov npm version downloads

Example

Bundle for desktop

import webpack from 'webpack';
import AdaptivePlugin from 'arc-webpack';

let compiler = webpack({
  // ...
  plugins: [
      new AdaptivePlugin({ flags: { desktop: true } })
  ]
});

Bundle for node.js server

import webpack from 'webpack';
import AdaptivePlugin from 'arc-webpack';

let compiler = webpack({
  target: 'async-node',
  // ...
  plugins: [
    new AdaptivePlugin({ proxy: true })
  ]
});