@vanportal/van-webpack

Webpack with our opinionated defaults.

Usage no npm install needed!

<script type="module">
  import vanportalVanWebpack from 'https://cdn.skypack.dev/@vanportal/van-webpack';
</script>

README

@vanportal/webpack

Webpack with our opinionated defaults.

The babel dependencies for loading webpack.babel.config.js.

Extra

Use --externals option to specify custom externals. For Example in package.json:

{
  "scripts": {
    "build:webpack": "van webpack ... --externals=\\\"./app:root\\\\ App,react:root\\\\ React,react-dom:root\\\\ ReactDOM\\\""
  }
}

TL;DR

  1. webpack/examples/side-effects at master ยท webpack/webpack
    (Use when your web modules exports multiple sub-modules)