README
arc-webpack
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 })
]
});