Files
stacks.js/packages/common/webpack.config.js
janniks 9d90fb20e5 build: add browser polyfill (#1184)
* chore: update webpack configs

* feat!: move browsers to polyfilled umd bundle

* chore: bootstrap

* chore: update lerna

* chore: bootstrap

* chore: fix lerna warnings

* chore: cleanup

* chore: remove non-fallbacks

* chore: add missing polyfill

* chore: fix remaining builds

* chore: update build scripts

* chore: update package

* chore: umd2 to umd

* chore: test global this

* chore: test umd bundling with vue

* build: update shared webpack config for umd

* build: fix dist path

* wip ded :(  works, almost

* wip it fking works!

* reduce to minimum required

* give up on vite :(

* update configs

* update configs

* rename scripts

* delete vite esbuild inherits

* add readme

* add build step

* remove inline poly

* remove unneeded packages

* update packages

* add missing export (required by wallet-web)

* bootstrap

* consistentize naming

* every kb counts

* docs: add notes on package types

Co-authored-by: janniks <janniks@users.noreply.github.com>
2022-02-23 19:21:34 +01:00

8 lines
162 B
JavaScript

const config = require('../../configs/webpack.config.js');
config.output.library.name = 'StacksCommon';
config.resolve.fallback = {};
module.exports = config;